-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfix: removes default prevention verification on selection (#28365)
- Loading branch information
1 parent
104c81e
commit 7d519bd
Showing
4 changed files
with
17 additions
and
25 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@fluentui-react-utilities-881a428e-b3dc-4761-8ecf-c874364e95c5.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "patch", | ||
"comment": "bugfix: removes default prevention verification on selection", | ||
"packageName": "@fluentui/react-utilities", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
3 changes: 1 addition & 2 deletions
3
packages/react-components/react-table/src/testing/mockSyntheticEvent.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
import * as React from 'react'; | ||
|
||
const isDefaultPrevented = () => false; | ||
export function mockSyntheticEvent() { | ||
return { isDefaultPrevented } as unknown as React.SyntheticEvent; | ||
return {} as unknown as React.SyntheticEvent; | ||
} |
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
3 changes: 1 addition & 2 deletions
3
packages/react-components/react-utilities/src/testing/mockSyntheticEvent.ts
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
import * as React from 'react'; | ||
|
||
const isDefaultPrevented = () => false; | ||
export function mockSyntheticEvent() { | ||
return { isDefaultPrevented } as unknown as React.SyntheticEvent; | ||
return {} as unknown as React.SyntheticEvent; | ||
} |