Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Implement createPortal not work as expect #494

Open
doxiaodong opened this issue Aug 8, 2018 · 2 comments
Open

Implement createPortal not work as expect #494

doxiaodong opened this issue Aug 8, 2018 · 2 comments

Comments

@doxiaodong
Copy link

doxiaodong commented Aug 8, 2018

Which cause antd-mobile picker broken.

@marvinhagemeister
Copy link
Member

Please post more information besides just "doesn't work". What exactly is the issue you are experiencing? Do you get an error message in the console? Do you have a snippet or an excerpt of your code which reproduces the issue?

@doxiaodong
Copy link
Author

doxiaodong commented Aug 9, 2018

Sorry.

  1. without createPortal implement https://img.tristana.cc/tmp/before.mov
  2. with createPortal implement https://img.tristana.cc/tmp/after.mov

you can clone https://github.com/ant-design/ant-design-mobile and then

  1. change preact-compat to 3.18.2
  2. npm install
  3. npm start
  4. open http://localhost:8002/components/picker

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

No branches or pull requests

2 participants