🐜 A UI Design Language

Updated: about 2 months agoUpdate

#11687Ready to be resolvedcreated byvitaliymaz

from issue

Anchor component with affix=true doesn't work inside some inner scrollable container

  • I have searched the issues of this repository and believe that this is not a duplicate.




windows 10, Chrome Version 67

Edit on CodeSandbox

Steps to reproduce

  1. Setup Anchor component inside some inner (not window) component
  2. Pass "getContainer" prop which returns that inner component
  3. Try to scroll down

What is expected?

Anchor should be still visible at the top

What is actually happening?

Anchor is hidden by scollbar

I already work on PR to fix that,