Проблема сейчас в том, что свиток не запускается вообще. Я загружаю jQuery, и я могу физически прокручивать в Div Project-Container Div. Я переполнен, и он определенно переполнен.
Код: Выделить всё
$('.project-container').scroll(function() {
console.log('scrolling'); // This DOESN'T show up
});< /code>
.project-container {
display: flex;
flex-direction: column;
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
padding: 5%;
gap: 30%;
box-sizing: border-box;
overflow-y: scroll;
}
.project {
display: flex;
height: auto;
width: 100%;
justify-content: space-between;
opacity: 1;
&.left {
flex-direction: row;
}
&.right {
flex-direction: row-reverse;
}
}< /code>
stuff
stuff2
Подробнее здесь: https://stackoverflow.com/questions/795 ... not-firing
Мобильная версия