mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #21837 from daphnesmit/patch-3
[react-beautiful-dnd] Added missing prop disableInteractiveElementBlocking
This commit is contained in:
Vendored
+1
@@ -99,6 +99,7 @@ export interface DraggableProps {
|
||||
draggableId: DroppableId;
|
||||
type?: TypeId;
|
||||
isDragDisabled?: boolean;
|
||||
disableInteractiveElementBlocking?: boolean;
|
||||
children(provided: DraggableProvided, snapshot: DraggableStateSnapshot): React.ReactElement<any>;
|
||||
}
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@ class App extends React.Component<{}, AppState> {
|
||||
style={getListStyle(snapshot.isDraggingOver)}
|
||||
>
|
||||
{this.state.items.map(item => (
|
||||
<Draggable key={item.id} draggableId={item.id}>
|
||||
<Draggable key={item.id} draggableId={item.id} disableInteractiveElementBlocking={true}>
|
||||
{(provided, snapshot) => (
|
||||
<div>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user