Skip to content

Conversation

@glsdown
Copy link
Contributor

@glsdown glsdown commented Aug 30, 2021

A number of bugs were identified in #651 about the dropdown. I have fixed a number of them where the props changed in the move to react-bootstrap and these are now working. However, there is a fundamental issue with the component I am unable to solve which means that the menu doesn't appear until the mouse is scrolled. Once this has been fixed, then the other issues, including those relating to the nav drop downs, should also be fixed.

@tcbegley tcbegley mentioned this pull request Aug 31, 2021
73 tasks
@glsdown glsdown marked this pull request as ready for review September 1, 2021 18:58
@glsdown
Copy link
Contributor Author

glsdown commented Sep 1, 2021

Solved the issue with the dropdown not appearing until scrolled - I was using an old library. A clean reinstall fixed the issue.


{{example:components/dropdown/content.py:dropdown}}

## AutoClose
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This property doesn't appear to be working.

Fixing it will likely introduce a breaking change because currently dismissal of the dropdown menu is controlled by the toggle prop of each DropdownMenuItem.

I think the auto_close interface is nicer, but not backwards compatible so... 🤷‍♂️

@tcbegley tcbegley merged commit bcd689b into dbc-team:v1 Sep 1, 2021
tcbegley added a commit that referenced this pull request Sep 5, 2021
* Updated to use react-bootstrap props

* Update dropdown alignment examples

* Add dropdown autoclose examples

* Add dark dropdown examples

* Update dropdown direction examples

* Update dropdown docs for new/amended examples

* Format

* Fixed dropdown in button group

* Remove new auto_close prop in dropdown

Co-authored-by: tcbegley <tomcbegley@gmail.com>
tcbegley added a commit that referenced this pull request Oct 19, 2021
* Updated to use react-bootstrap props

* Update dropdown alignment examples

* Add dropdown autoclose examples

* Add dark dropdown examples

* Update dropdown direction examples

* Update dropdown docs for new/amended examples

* Format

* Fixed dropdown in button group

* Remove new auto_close prop in dropdown

Co-authored-by: tcbegley <tomcbegley@gmail.com>
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

Successfully merging this pull request may close these issues.

2 participants