Hello! There was such a problem. This or similar page scroll animation is needed, but there is one problem. One of the blocks is greater than 100vh in height and when the user scrolls to this block he should be able to scroll it like a normal page. Does anyone have examples or where to read?
1 answer
The script of this page intercepts scrolling events, therefore it is difficult to make it through the overflow
property. You can connect a custom scrolling script, for example , this one is not bad.
Here the reverse problem arises - the block scrolling can block the change of partitions, because it should not be done in full width, but leave space for the controller.
Here is an example based on the demo page of your script. Some changes have been made to the style.css file, see comments.
- Thank you very much! It helped. - Adept22
|