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

Fixes toolbox and menu dropdown on mobile. #2931

Merged
merged 3 commits into from
Aug 30, 2019

Conversation

samelhusseini
Copy link
Contributor

The basics

  • I branched from develop
  • My pull request is against develop
  • My code follows the style guide

The details

Resolves

Toolbox doesn't click on IOS.
Long dropdown's can't be scrolled.

Proposed Changes

I can't find a reason for using mousedown on these elements since all we're after is detecting a click. A click works universally, so going with that instead.

@rachel-fenichel can you think of a reason to do mouseover > click?

Reason for Changes

Fix mobile

Test Coverage

Tested on:

  • Desktop Chrome

  • Desktop Safari

  • IOS

@rachel-fenichel
Copy link
Collaborator

Note that bindEventWithChecks doesn't have anything in the touch map for clicks. But that doesn't seem like an issue.

This looks reasonable, though mocha is failing.

@samelhusseini samelhusseini merged commit 03b1e7f into google:develop Aug 30, 2019
@samelhusseini samelhusseini deleted the iosfixes branch August 30, 2019 17:23
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