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

Fixed bug that occurs when range slider is inside a Polymer shadow dom #18

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

Conversation

spikewilliams
Copy link

I was trying to use the range slider inside a Polymer web component, but there was a bug that caused the right-side slider to move the left-side slider when it was clicked. This is because the d3.event.sourceEvent.target on a drag was being attributed to the overlying shadow DOM, rather than to the slider element. This is likely a bug either in Polymer, D3, or at the browser level, but I fixed it here by removing the need to reference d3.event.sourceEvent.target.

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.

1 participant