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

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

개발

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

페이지 정보

profile_image
작성자 관리자 (119.♡.119.69)
댓글 0건 조회 1,836회 작성일 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 389건 18 페이지
  • RSS
개발 목록
번호 제목 조회 추천 날짜
492348002-20
482138002-21
472214003-04
461674003-11
452000005-04
443585006-15
432894007-16
421917007-17
412302007-24
402570007-24
391457007-27
381765008-03
373861008-10
361566008-11
351864008-18
열람중1837008-19
331616009-07
321829009-08
311662010-02
301676012-05

검색


사이트 정보

Copyright © Baragi.Net. All rights reserved.