-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Hide drop indicator where block isn't allowed to drop. (#56843)
* Hide drop indicator where block isn't allowed to drop. * Don't show indicator when drop outside of allowed parent * logic to change the draggable icon * Make chip transparent when dragging over undroppable area. * Remove unused prop * Check insertion point visibility * Move some code around * Throttle the event listener * Add dependencies to effect * Update CSS * Fade chip only when dragging in editor canvas * Improve disabled chip * Update to styled span. * Only check validity of container blocks.
- Loading branch information
1 parent
e103a18
commit bf87c21
Showing
5 changed files
with
245 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters