cgkineo / adapt-hint

An extension that adds a small, clickable icon to a component that displays additional information.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using Hint with Vanilla _onScreen animations

kirsty-hames opened this issue · comments

There's a display issue if enabling Hint on components also using _onScreen animations.

The Fade in css targets a generic .animation-class > div in order to support animations being applied at all levels (components, blocks, articles etc). Seeing as .hint is rendered as a direct child of component, the animation css is being inherited.

This is more so an fyi and can be easily resolved by amending the animation css to .animation-class > div:not(.hint)