Page MenuHomePhabricator

[landing] Disable RainbowKit slide-in animation
ClosedPublic

Authored by ashoat on Dec 22 2022, 4:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 10, 1:34 AM
Unknown Object (File)
Tue, Nov 5, 7:30 AM
Unknown Object (File)
Tue, Nov 5, 7:30 AM
Unknown Object (File)
Sat, Nov 2, 7:56 PM
Unknown Object (File)
Sat, Nov 2, 7:54 PM
Unknown Object (File)
Oct 6 2024, 11:14 AM
Unknown Object (File)
Oct 6 2024, 11:14 AM
Unknown Object (File)
Oct 6 2024, 11:11 AM
Subscribers

Details

Summary

Our BottomSheet is already sliding in; we don't need to do it twice.

Test Plan

Load http://localhost:3000/commlanding/siwe in desktop browser, Mobile Safari on Simulator, and within WebView in Comm app to verify slide-in effect is gone

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ashoat retitled this revision from [landing] Disable SIWE slide-in animation to [landing] Disable RainbowKit slide-in animation.Dec 22 2022, 7:16 PM
atul added inline comments.
landing/siwe.css
30

Are we confident that this value is going to be static + remain the same going forward?

This revision is now accepted and ready to land.Dec 22 2022, 10:37 PM
landing/siwe.css
30

Absolutely not – I suspect if we updated RainbowKit we would have to rejigger this. It's sort of like a patch-package.

I did test a prod build to make sure these hacks work there too, though.

I'd like to move away from RainbowKit eventually, but not sure how easy that will be.

landing/siwe.css
30

I think it might be worth leaving a brief comment explaining where _9pm4ki5 came from for future readers.

I guess they'd be able to figure it out by looking at this diff via git blame, but searching the codebase for "_9pm4ki5" doesn't yield any results (I have node_modules excluded from search by default).

landing/siwe.css
30

Even just including the path (node_modules/@rainbow-me/rainbowkit/dist/components/index.css:2021) would be helpful