N
N
nepster-web2020-11-28 01:47:55
Bootstrap
nepster-web, 2020-11-28 01:47:55

How to open a second bootstrap window without extra glare?

Open the bootstrap modal window, it has a button that should open a new window.
The logic is this: if a new window is opened, all other open windows are closed.

When the bootstrap modal window opens, the body is hung with: .modal-open and padding-right.

When I use any option to close the window ( https://stackoverflow.com/questions/16493280/close... ), when a new window is opened, .modal-open and padding-right are no longer broadcast on the body.

if I do it myself forcibly, then the effect of a jerky scroll appears for a second.

is there any way to close the modal window without touching the body ?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Danny Arty, 2020-11-28
@DanArst

No jerky scrolling and glare, or I don’t understand something

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question