A
A
Alexander Florinsky2015-04-14 15:07:18
css
Alexander Florinsky, 2015-04-14 15:07:18

Is Chrome behaving strangely, or am I the problem?

Good afternoon.
There is a block with position: fixed, which hangs in the header of the site and contains a menu.
The site page itself is quite long and heavy. It contains a large number of pictures, about 30, arranged in a bootstrap grid.
The problem appears when scrolling the page in chrome.
On fast scrolling, the top menu, with position:fixed, breaks away from the header for a fraction of a second, and then reattaches.
That is, jumps that are noticeable to the eye occur.
How can this be "cured"?
If you scroll the page by dragging the slider in the scrollbar, then there is no glitch.
Thank you.
PS
The problem was solved.
This is a webkit glitch, and is solved by adding the -webkit-transform: translateZ(0); rule to the CSS block.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
littleguga, 2015-04-14
@flor_master

1. Ссылку можно?
2. Позиция блока fixed задана? Или js что-нибудь вычисляет?
3. Уверены, что js не производит никаких махинаций с шапкой?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question