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

stopPropagation breaks blur() events elsewhere #939

Open
charlieblevins opened this issue Aug 14, 2023 · 0 comments
Open

stopPropagation breaks blur() events elsewhere #939

charlieblevins opened this issue Aug 14, 2023 · 0 comments

Comments

@charlieblevins
Copy link

Steps to reproduce:
Given: I have an input (unrelated to rc-slider), and a <Slider> element

  1. Click into the input. Expected: cursor blinks in input, focus is on input
  2. Click the slider drag handle
    Expected: a blur() event is called on the input
    Actual: no blur() event is called

I suspect this is because stopPropagation is called here. What is the reason for this call?

I will gladly open a PR to resolve this problem, but before I do it would be best for me to understand the problem that stopProgation is solving.

Thanks!

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

No branches or pull requests

1 participant