Open ad9242 opened 2 weeks ago
When displaying a back to top with variant=icon, the element does not remain fixed in position when the footer scrolls into view:
variant
icon
the default variant does remain fixed:
The button should not overlap the footer
Given an icon variant back to top exists on a page When the page footer scrolls into view Then the back to top button should not overlap the footer
This may be due to the tooltip on the button
Summary of the bug
When displaying a back to top with
variant
=icon
, the element does not remain fixed in position when the footer scrolls into view:the default variant does remain fixed:![image](https://github.com/mi6/ic-ui-kit/assets/116102637/3ea8f616-9e53-4b49-bd3d-b94c16e49b2d)
🧐 Expected behaviour
The button should not overlap the footer
📝 Acceptance Criteria
Given an icon variant back to top exists on a page When the page footer scrolls into view Then the back to top button should not overlap the footer
Additional info
This may be due to the tooltip on the button