Skip to content
This repository has been archived by the owner on May 10, 2018. It is now read-only.

feat(rn-carousel-indicators): prevent click event from bubbling up #432

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mathiasmoeller
Copy link

When the user clicked on the indicators, the event bubbled upwards. If for example a click handler watches for clicks on the image to show it in fullscreen, this leads to problems. Now this is prevented by using event.stopPropagation.

When the user clicked on the indicators, the event bubbled upwards. If for example a click handler watches for clicks on the image to show it in fullscreen, this leads to problems. Now this is prevented by using `event.stopPropagation`.
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.

1 participant