K
K
karetsky2016-11-10 21:10:29
css
karetsky, 2016-11-10 21:10:29

Vertical scrolling of the browser scrolls a single block on the page. How is it done?

There is a page with content - on the right side of the browser there is a standard vertical scrolling of the page.
How to make it so that when a block appears on this page (for example, a div with content), vertical scrolling affects only this block (i.e. scrolls only this div)?

For example, this is implemented by Vkontakte ( https://vk.com/team?w=page-22822305_51878110 )

Answer the question

In order to leave comments, you need to log in

4 answer(s)
I
iBird Rose, 2016-11-10
@karetsky

for body do overflow: hidden when opening modal

R
Roman Mirilaczvili, 2017-02-05
@2ord

First you need to monitor activity using the tools at www.brendangregg.com/linuxperf.html + https://habrahabr.ru/company/oleg-bunin/blog/319020/
Measure and then, if there are specific questions, ask.

1
15432, 2017-02-03
@15432

Switch to nginx?

O
Oleg Batalov, 2017-02-03
@badmilkman

Now your database can't cope, most likely due to slow disks or lack of memory.
Try to optimize it for the new number of connections from Apache,

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question