Financial-Times / x-dash

:x::heavy_minus_sign::newspaper: shared front-end components for FT.com and the FT Apps
https://financial-times.github.io/x-dash
38 stars 6 forks source link

ELES-1161 Preserve Include Highlights checkbox state through tabs #771

Closed ststdimov closed 4 months ago

ststdimov commented 5 months ago

Description

Fix small issue related with Include highlight checkbox on Advanced sharing. After switching to second tab on the Advanced sharing modal, the "Include Sharing" checkbox was always unchecked, instead pf preserving its current state from the previous tab

Ticket

https://financialtimes.atlassian.net/browse/ELES-1161

Testing

Checkout the branch, install the dependencies and run the story book. From the storybook check behavior of the Share article modal (B2b with highlights) - http://local.ft.com:9001/?path=/story/x-gift-article--share-article-modal-b-2-b-highlights