Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Affix container block does not stick to the viewport in 4.0.0-rc.10 documentation #1661

Open
kemeris2000 opened this issue Aug 17, 2023 · 5 comments
Labels
Bug Something isn't working

Comments

@kemeris2000
Copy link

Describe the bug

Affix container block does not stick to the viewport in 4.0.0-rc.10 documentation.

To Reproduce

visit Lowdefy documentation page and scroll down the page.

Lowdefy Version

4.0.0-rc.10

@kemeris2000 kemeris2000 added the Bug Something isn't working label Aug 17, 2023
@Gervwyk
Copy link
Member

Gervwyk commented Aug 18, 2023

Hi @kemeris2000
Thanks for creating the issue. Will look into this.

@kemeris2000
Copy link
Author

Any news on this issue. Affix does not work for me on v 4.1.0. It was working in v3.

v4
image

v3
image

@Gervwyk
Copy link
Member

Gervwyk commented May 5, 2024

Hi @kemeris2000, will investigate. Must be some side effect. We are using it in several apps with no issues in 4.1.0.

@kemeris2000
Copy link
Author

Tested with Mozilla Firefox and Edge. Does not work for https://docs.lowdefy.com and my own app.

@kemeris2000
Copy link
Author

kemeris2000 commented Jun 3, 2024

Had time to look at it again. Affix starts to work when:

  1. set class "css-0" to div No1.
  2. set class "ant-affix" to div No2.
  3. remove class "ant-affix" from div No2.

after that new div appears <div aria-hidden="true" style="width: 483.447px; height: 0px;"></div>

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants