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

Dropdown cleanups #34458

Merged
merged 7 commits into from
Jul 22, 2021
Merged

Dropdown cleanups #34458

merged 7 commits into from
Jul 22, 2021

Conversation

GeoSot
Copy link
Member

@GeoSot GeoSot commented Jul 8, 2021

  • make dataApiKeydownHandler to handle specific instance, avoiding extra manipulations
  • extract createPopper method
  • handle click event in one place, remove undocumented click listener on element in case of not having the proper markup
  • use classList add instead of toggle on show
  • simplify toggle
  • remove static interface
  • make isShown method

NOTE for reviewers:

Better review it, commit by commit. It will help you with the proper message and will guide you with sanity to follow the logic

@GeoSot GeoSot marked this pull request as ready for review July 8, 2021 15:51
@GeoSot GeoSot requested a review from a team as a code owner July 8, 2021 15:51
@mdo mdo changed the title Dropwdown cleanups Dropdown cleanups Jul 12, 2021
@XhmikosR XhmikosR merged commit e85a6ed into main Jul 22, 2021
@XhmikosR XhmikosR deleted the gs-dropwdown-cleanups branch July 22, 2021 14:54
GeoSot added a commit that referenced this pull request Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants