Skip to content

mousedown/up vs click#8

Open
timoxley wants to merge 2 commits intocomponent:masterfrom
timoxley:feature/mousedown-vs-click
Open

mousedown/up vs click#8
timoxley wants to merge 2 commits intocomponent:masterfrom
timoxley:feature/mousedown-vs-click

Conversation

@timoxley
Copy link
Member

This allows the menu to close immediately when mouse clicks outside the menu (feels more responsive and matches typical menu behaviour), plus, allows for dropdown menu to support a single-click gesture to invoke a selection (i.e. mousedown+drag to item+release to select) rather than a two-click approach.

Best way to test the behaviour is using dropdown tests.

@dominicbarnes
Copy link
Member

Hey @timoxley, jQuery has just been removed, can you rebase this branch off the most recent changes? (ie. using component/dom instead)

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