Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drawer rendering issue with React 16 on android and web #29

Open
wickedest opened this issue Mar 30, 2018 · 0 comments
Open

Drawer rendering issue with React 16 on android and web #29

wickedest opened this issue Mar 30, 2018 · 0 comments

Comments

@wickedest
Copy link

wickedest commented Mar 30, 2018

First of all, thanks for carbon-ui. It looks amazing so far and I am eager to use it to create an android/web application. It took me a while, but I got the example application working for (android/web) here: https://gitlab.com/jamie-peabody/places-carbon

I need to use react 16.3.0-alpha.1, webpack 4, react-native-web, and carbon-ui. I am getting some issues.

The android app behaves well enough, but it renders the drawer below the AppBar.

The web app is broken. There are two issues with it:

  1. The Drawer is not fully hidden, extending into the main application. It appears to be a responsive width issue. If I make the browser smaller, the Drawer hides (mostly). Its shadow is still visible.
  2. The Drawer renders below the AppBar on android.

Clicking to open the Drawer results in an exception: Uncaught ReferenceError: regeneratorRuntime is not defined the app was missing babel-polyfill. opening the Drawer correctly renders above the AppBar on web.

Android
image

Web
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant