Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(blade): Trigger native select events in dropdown/ file upload / Date picker [FC-3151] #2408

Merged
merged 30 commits into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
03cb1bb
chore: trigger native events
tewarig Nov 6, 2024
48182f7
chore: trigger native events
tewarig Nov 6, 2024
0c355c1
fix: fireNativeEvents in case of dropdown
tewarig Nov 7, 2024
90d7063
chore: remove extra code
tewarig Nov 7, 2024
7f537a3
chore: change value of fireNative events to unknown
tewarig Nov 7, 2024
d75fa17
chore: remove fireNativeEvent from autocompelte
tewarig Nov 7, 2024
5d16744
chore: remove add fireNative event on remove , dissmiss
tewarig Nov 7, 2024
45b43f9
chore: remove logs
tewarig Nov 7, 2024
b683440
chore: code clean up
tewarig Nov 7, 2024
f66ef5f
chore: minor change
tewarig Nov 7, 2024
6440afd
chore: minor changes
tewarig Nov 7, 2024
497aff1
chore: fix type
tewarig Nov 7, 2024
bf6083f
chore: fire native event is not supported on react-native
tewarig Nov 8, 2024
4a5abdc
chore: change fire native event
tewarig Nov 8, 2024
2a8975f
chore: review change useFireNativeEvent
tewarig Nov 10, 2024
c4887f6
feat: added fireNativeEvent test
tewarig Nov 11, 2024
9295b8d
chore: test for fireNativeEvent react native
tewarig Nov 11, 2024
92235e5
Merge branch 'master' of https://github.com/razorpay/blade into fix/t…
tewarig Nov 11, 2024
7a6cfa9
chore: update fireNativeEvent error
tewarig Nov 11, 2024
f023d4c
chore: add tests in AutoComplete
tewarig Nov 11, 2024
42b8c3d
feat: add test for fire naitve event in DatePicker
tewarig Nov 11, 2024
5e517b3
feat: added test case for FileUpload
tewarig Nov 11, 2024
d139e26
chore: sync with main
tewarig Nov 14, 2024
500e30f
fix: failing build
tewarig Nov 14, 2024
2e3b148
chore: update snap
tewarig Nov 14, 2024
277c1b9
chore: add fixes to fireNativeEvent
tewarig Nov 14, 2024
a7657a4
Merge branch 'master' of https://github.com/razorpay/blade into fix/t…
tewarig Nov 15, 2024
d6947b0
chore: change throwBladeError to logger
tewarig Nov 15, 2024
f0d49f5
chore: fix errors
tewarig Nov 15, 2024
82104ef
chore: increase timeout
tewarig Nov 15, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/**
* FireNativeEvent is not supported on react-native
*/
export const FireNativeEvent = (): void => {
throw new Error('FireNativeEvent is not supported on react-native');
tewarig marked this conversation as resolved.
Show resolved Hide resolved
};
2 changes: 1 addition & 1 deletion packages/blade/src/utils/fireNativeEvent/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './fireNativeEvent.web';
export * from './fireNativeEvent';
Loading