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

Angular 12 and bootstrap scroll bar issue #122

Open
Asimov500 opened this issue Feb 16, 2022 · 1 comment
Open

Angular 12 and bootstrap scroll bar issue #122

Asimov500 opened this issue Feb 16, 2022 · 1 comment

Comments

@Asimov500
Copy link

I am having an issue that when the lightbox is open, it is creating a scrollbar on the side.
I am using Angular 12 and bootstrap. I know this has been asked a long time ago, but is there a way to solve it?

The lightbox seems to be adding height to the page. Even if I have a page where there is already a scrollbar, the lightbox is making the page taller.

I have added the option _lightboxConfig.disableScrolling=true; which stops them scrolling the page,but it is still showing.

Is there anything I can do to fix the problem?

@Asimov500
Copy link
Author

Forgot to say I am using ngx-lightbox 2.30.
For now I have had to freeze the scrollbar, but I have used non angular lightbox, and it has never done this in other pages that I have made.
It seems the lightbox is adding alot of height, even though the image fits in the screen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant