-
Notifications
You must be signed in to change notification settings - Fork 223
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
Transformation is not set correctly for dropdown menu when direction is up
#62
Comments
Causetl;dr this is caused by dash using react 15, not 16. Long version: Setting By looking at the reactstrap source code, reactstrap injects a prop called Bootstrap then uses a selector based on The Up to React 15, any extra attributes passed to Thus, in When we use dash-renderer, the Moving forwardsI suggest finding out when dash-renderer is planning to move to React 16 and waiting till then. In the meantime, we can just disable |
Dash-renderer has a PR for migrating to React 16: |
That’s some top investigative work, thanks @pbugnion! I think disabling the “up” option for now is the best thing, let’s log this as something to return to when dash renderer moves to react 16 along with support for modals. |
Closing this in favour of issue #65, which is more up-to-date. Thank you! |
When creating a dropdown menu with
direction == 'up'
, items do not show correctly. In particular, the stylebottom
is not set toauto
and the transformation that is supposed to push the items above the dropdown is wrong.The text was updated successfully, but these errors were encountered: