razorpay / blade

Design System that powers Razorpay
https://blade.razorpay.com
MIT License
495 stars 129 forks source link

Arrow direction is opposite for collapsible link with direction top #1424

Closed sujoys12 closed 1 year ago

sujoys12 commented 1 year ago
Screenshot 2023-07-11 at 3 44 36 PM

Arrow direction should be up when body is expanded https://codesandbox.io/s/funny-albattani-shpjtm

chaitanyadeorukhkar commented 1 year ago

This is the intended behaviour. The arrow indicates where the body is going to open. Once opened, it flips to the opposite direction. Attaching screenshots of both top & bottom cases

bottom: image

top: image

chaitanyadeorukhkar commented 1 year ago

Seems to be a bit confusing with conflicting opinions. Discussing with the design team, will get this to closure.

chaitanyadeorukhkar commented 1 year ago

Discussed it with the design team, we will flip the behaviour for top direction. The flipped behaviour seems more natural!