Skip to content

If container DIV has zoom value react-selcto not working as expected #94

@jebaemanuel

Description

@jebaemanuel

Environments

  • Framework name: React
  • Framework version: 17.0.2
  • Component name: React-Selecto
  • Component version:1.13.2
  • Testable Address(optional):

Description

If container DIV has zoom value other than 100%, after dragged inside the container, the drag position showing wrong position.

using zoom and transform property in container DIV not working as expected. If I added transform instead of zoom, the drag position working fine. but UI elements not selected.

I shared the example - in render function.
return


<div className="container" style={{zoom:"50%"}}>

    <Selecto 
    	.....
    />

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinginvalidThis doesn't seem right

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions