Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unclickable switch center / Rebase PR 630 #675

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

FirstVertex
Copy link

This change fixes a long-standing issue with the white portion of the Off switch being not clickable.
Issues reported on it here:
#481
and here:
#628
and here, all the same bug, reported since couple of years
#467

Plunker to demonstrate bug (uses existing code)
https://plnkr.co/edit/wXJvctugqNAx00rgUfeg?p=preview

Plunker to demonstrate fix (uses this fork)
https://plnkr.co/edit/DY1Icvv4HyDi2D0PkfdU?p=preview

When using these Plunkers, set the switch to Off state. Try clicking on the white part of the switch (the part that doesn't say "Off") - notice that it does not switch off in the first Plunker (with bug) and that it correctly switches off in the second Plunker (with my fix)

This change fixes a long-standing issue with the white portion of the Off switch being not clickable.
Issues reported on it here:
Bttstrp#481
and here:
Bttstrp#628
and here, all the same bug, reported since couple of years
Bttstrp#467

Plunker to demonstrate bug (uses existing code)
https://plnkr.co/edit/wXJvctugqNAx00rgUfeg?p=preview

Plunker to demonstrate fix (uses this fork)
https://plnkr.co/edit/DY1Icvv4HyDi2D0PkfdU?p=preview

When using these Plunkers, set the switch to Off state.  Try clicking on the white part of the switch (the part that doesn't say "Off") - notice that it does not switch off in the first Plunker (with bug) and that it correctly switches off in the second Plunker (with my fix)
@LostCrew LostCrew self-assigned this Jan 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants