Skip to content
This repository has been archived by the owner on Oct 27, 2022. It is now read-only.

Fix search filter checkbox ghostclick #759

Merged

Conversation

caseychoiniere
Copy link
Member

Had to use onClick handler instead of onCheck because of issues with onCheck on IOS and some Android devices. onClick of the MUI list item was creating a "ghostclick" though which was causing the filter to be deselected ~300ms after the initial click. Using preventDefault() stops the second click.

See issue here: (mui/material-ui#5070)

Copy link
Contributor

@Donmurry Donmurry left a comment

Choose a reason for hiding this comment

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

👍

@Donmurry Donmurry merged commit e840416 into Duke-Translational-Bioinformatics:develop Oct 31, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants