Skip to content

Comments

ALCS-2416 Added preventDefault on dropdowns#2036

Merged
fbarreta merged 1 commit intodevelopfrom
feature/ALCS-2416-add-next-year-on-boundary-am
Dec 19, 2024
Merged

ALCS-2416 Added preventDefault on dropdowns#2036
fbarreta merged 1 commit intodevelopfrom
feature/ALCS-2416-add-next-year-on-boundary-am

Conversation

@fbarreta
Copy link
Contributor

I couldn't find a particular reason for the dropdown to open.
With some research I read that angular material have some issues with overlays, and these two being the same component could make use of the same overlay. (and it triggers the first dropdown no matter where it's on the screen ... I tested it ... :( )
But the event.preventDefault stops the overlay actions, and triggers only the desired functionality.

@fbarreta fbarreta self-assigned this Dec 19, 2024
Copy link
Collaborator

@trslater trslater left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@fbarreta fbarreta merged commit e1f552f into develop Dec 19, 2024
5 checks passed
@fbarreta fbarreta deleted the feature/ALCS-2416-add-next-year-on-boundary-am branch December 19, 2024 19:58
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