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

Using Firefox, onClick event of parent div gets triggered on resize end #787

Open
RiceDam opened this issue Jul 6, 2023 · 1 comment
Open

Comments

@RiceDam
Copy link

RiceDam commented Jul 6, 2023

This is a browser bug.

Overview of the problem

I'm using re-resizable version [6.9.9]

My browser is: Firefox

I am sure this issue is not a duplicate? I could not find anything related.

Description

Steps to Reproduce

  1. Have a div with an onClick event.
  2. Create a resizable element inside that div
  3. Resize the element

https://codesandbox.io/s/d9ftct

Expected behavior

I expect the parent div's onClick event not to trigger

Actual behavior

The onClick event triggers

@franciscocgue
Copy link

I am experiencing the same issue, no matter how much event.stopPropagation() I use.

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

2 participants