to Github

RewardedView inAnchor component with affix=true doesn't work inside some inner scrollable container#11687

vitaliymazcreated the issue 2 months ago

  • 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,

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->


  1. vitaliymazwas rewarded $30about 2 months ago
  2. vitaliymazsubmittedPR2 months ago
  3. vitaliymazstarted working2 months ago
  4. boostiofunded $302 months ago

Total Fund


Funded by


Work status

vitaliymaz has finished work

It took 1 minute to finish to PR