Skip to content
This repository was 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
mathiasmoeller wants to merge 1 commit into
revolunet:masterfrom
mathiasmoeller:master
Open

feat(rn-carousel-indicators): prevent click event from bubbling up#432
mathiasmoeller wants to merge 1 commit into
revolunet:masterfrom
mathiasmoeller:master

Conversation

@mathiasmoeller
Copy link
Copy Markdown

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