모바일 크롬 웹에서 풀다운 새로고침 방지 방법 > 개발

본문 바로가기
사이트 내 전체검색

개발

모바일 크롬 웹에서 풀다운 새로고침 방지 방법

페이지 정보

profile_image
작성자 관리자 (119.♡.119.69)
댓글 0건 조회 1,573회 작성일 22-08-19 20:05

본문

아래와 같이 css 에 overscroll-behavior-y 를 추가하면 된다.

```
html, body {
    overscroll-behavior-y: contain;
}
```



* 참고
https://thewebdev.info/2021/10/09/how-to-prevent-pull-down-to-refresh-in-mobile-chrome/
https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior-y

추천0

댓글목록

등록된 댓글이 없습니다.

Total 386건 1 페이지
  • RSS
개발 목록
번호 제목 조회 추천 날짜
386211004-07
385959002-02
384875001-09
3831010012-25
382960012-15
381810012-10
380412012-03
379437011-26
378424011-04
377989009-08
3761242008-11
3751316008-10
3741602007-10
3731115007-03
3721519006-06
3711306004-23
3701317004-20
3692344004-19
3681000004-12
3671639004-11

검색


사이트 정보

Copyright © Baragi.Net. All rights reserved.