Skip to content

Commit

Permalink
fix(core): unexpected collection item drag event (#6443)
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmFly committed Apr 2, 2024
1 parent 4624a49 commit f93ffbe
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,10 @@ export const CollectionSidebarNavItem = ({
postfix={
<div
onClick={stopPropagation}
onMouseDown={e => {
// prevent drag
e.stopPropagation();
}}
style={{ display: 'flex', alignItems: 'center' }}
>
<CollectionOperations
Expand Down

0 comments on commit f93ffbe

Please sign in to comment.