Skip to content

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

@RiceDam

Description

@RiceDam

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions