WestpacCXTeam / GUI-source

Westpac GUI source code
http://WestpacCXTeam.github.io/GUI-source
GNU General Public License v2.0
37 stars 19 forks source link

Alert box content overflow when closed #452

Closed jonnystening closed 5 years ago

jonnystening commented 5 years ago

When the alert box is closed its content is not visible (opacity: 0) however it's not being clipped by the max-height: 0 parent.

Issue: Content below the alert is being affected by transparent items; blocking pointer events etc.

Fix: overflow: hidden on the alert box when it's closed.

(Nb. This property was removed from the alert box when we wanted any link items inside the alert box to be able to show :focus outline without being clipped).

Screen Shot 2019-07-03 at 4 43 12 pm Screen Shot 2019-07-03 at 4 43 52 pm