-
Notifications
You must be signed in to change notification settings - Fork 10
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(modals): set motion preset to none #1783
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code wise lgtm, but i'm wondering if we should create a custom component (in a separate pr) which extends the design-system modal so that we don't have to insert this field in every time, since we want all modals transitionless to better support gsib?
+1 on @alexanderleegs, this feels dev heavy to remember. Would much rather use IsomerModal + do a string search for Modal to make sure we arent using the chakra's/design system (forgot which one) to ensure we didnt miss out anything! |
@alexanderleegs @kishore03109 I think that is a good point, will use that approach instead! |
9641e35
to
69d079d
Compare
69d079d
to
0474149
Compare
@isomerpages/iso-engineers re-requesting review to use the approach suggested above (i.e. to have our own Modal component that sets the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code lgtm. Just wondering if we should remove the parameter totally? Don't really have a strong opinion here
@seaerchin I'm keeping for now to maintain maximum compatibility, in case there are some use cases which still needs a custom |
Important
Requires testing on multiple devices + GSIB
Problem
The opening and closing of modals in a GSIB is extremely slow in the default rendering mode.
Solution
Breaking Changes
Bug Fixes:
motionPreset
for all modals to benone
, so the modal will appear immediately instead of having an animation in which the modal slowly appears.Tests
npm run tests
)!run e2e
)Deploy Notes
None