Skip to content

glenn-allen/dnd-touch-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React DnD Touch Backend monitor.isOver Example

Note: This issue has now been fixed in version 0.3.0 of the react-dnd-touch-backend. Leaving this example as 0.2.7 for historical purposes.

History

A simple example that shows monitor.isOver({ shallow: true }) doesn't behave as expected. Based on the React DnD docs and this example when { shallow: true } the highest DOM node should return true for monitor.isOver.

Instead it returns true for the bottom DOM node.

Starting server

> npm start Then navigate to http://localhost:3000/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published