Skip to content

Commit

Permalink
fix(ripple-effect): never capture click (#16955)
Browse files Browse the repository at this point in the history
fixes #16939
  • Loading branch information
manucorporat committed Jan 4, 2019
1 parent d22e57d commit 7ee8aa6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions core/src/components/ripple-effect/ripple-effect.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ $opacity-duration: $fade-in-duration + $fade-out-duration;
position: absolute;

contain: strict;
pointer-events: none;
}

:host(.unbounded) {
Expand Down
2 changes: 1 addition & 1 deletion core/src/components/ripple-effect/test/basic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<ion-ripple-effect></ion-ripple-effect>
</a>

<button class="my-block">
<button class="my-block ion-activatable">
This is just a button + effect on top
<ion-button onclick="buttonClicked()">Nested button</ion-button>
<ion-ripple-effect></ion-ripple-effect>
Expand Down

0 comments on commit 7ee8aa6

Please sign in to comment.