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

Implement createPortal not work as expect #494

Open

Description

@doxiaodong

Which cause antd-mobile picker broken.

Activity

  1. marvinhagemeister commented on Aug 9, 2018

    @marvinhagemeister
    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?

  2. doxiaodong commented on Aug 9, 2018

    @doxiaodong
    Author

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions