mozilla / addons

☂ Umbrella repository for Mozilla Addons ✨
Other
125 stars 41 forks source link

Convert setState() in ShowMoreCard to setUIState() #12035

Closed kumar303 closed 6 years ago

kumar303 commented 6 years ago

The ShowMoreCard component can be converted to using setUIState().

It's using setState() to expand/collapse content.

For QA: please make sure that long add-on descriptions can still be expanded/collapsed.

Part of https://github.com/mozilla/addons/issues/9914

ioanarusiczki commented 5 years ago

Verified this issue on Android 8.0 with FF62 (Win10) If I navigate away and return, click it from search results, simply click back to see the detail page or I'm expanding the text and then refresh page the text will look collapsed. Also if I click another add-on from the More recommendations the text will look collapsed.

videotogif_2018 10 02_17 40 54