fix(modal): prevent clicking inside inner modal from closing the modal

- revert adding a `stopPropagation` modifier to the PasswordInput "toggle password" button
This commit is contained in:
Eric Liu 2020-08-12 12:46:07 -07:00
commit 52a10d3acd
5 changed files with 23 additions and 12 deletions

View file

@ -177,7 +177,7 @@
class:bx--tooltip--a11y={true}
class="{tooltipPosition && `bx--tooltip--${tooltipPosition}`}
{tooltipAlignment && `bx--tooltip--align-${tooltipAlignment}`}"
on:click|stopPropagation={() => {
on:click={() => {
type = type === 'password' ? 'text' : 'password';
}}>
<span class:bx--assistive-text={true}>