-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
merge: 닉네임 화면에서 키보드와 함께 버튼이 안올라오는 IOS 문제 개선 & 라우팅 오류 해결 #340
[FIX] 닉네임 화면에서 키보드와 함께 버튼이 안올라오는 IOS 문제 개선 & 라우팅 오류 해결
- Loading branch information
Showing
12 changed files
with
144 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,7 +78,8 @@ | |
"text-align", | ||
"text-indent", | ||
"vertical-align", | ||
"white-space" | ||
"white-space", | ||
"outline" | ||
] | ||
}, | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,56 +1,93 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="ko"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta | ||
name="description" | ||
content="심심풀이 땅콩처럼 가벼운 주제로 친구들과 즐기는 단체 대화주제 제공 서비스" | ||
/> | ||
<title>땅콩 - 단체 대화주제 제공 서비스</title> | ||
|
||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta name="description" content="심심풀이 땅콩처럼 가벼운 주제로 친구들과 즐기는 단체 대화주제 제공 서비스"> | ||
<title>땅콩 - 단체 대화주제 제공 서비스</title> | ||
<link rel="preconnect" href="https://o4507724312477696.ingest.us.sentry.io" /> | ||
<link rel="preconnect" href="https://cdn.jsdelivr.net" /> | ||
|
||
<link rel="preconnect" href="https://o4507724312477696.ingest.us.sentry.io"> | ||
<link rel="preconnect" href="https://cdn.jsdelivr.net"> | ||
<link | ||
rel="preload" | ||
as="style" | ||
crossorigin | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard-dynamic-subset.min.css" | ||
/> | ||
<link | ||
rel="stylesheet" | ||
as="style" | ||
crossorigin | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard-dynamic-subset.min.css" | ||
/> | ||
|
||
<link rel="preload" as="style" crossorigin | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard-dynamic-subset.min.css" /> | ||
<link rel="stylesheet" as="style" crossorigin | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/dist/web/static/pretendard-dynamic-subset.min.css" /> | ||
<link | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/packages/pretendard/dist/web/static/woff2-dynamic-subset/Pretendard-Regular.subset.91.woff2" | ||
rel="preload" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/packages/pretendard/dist/web/static/woff2-dynamic-subset/Pretendard-Bold.subset.83.woff2" | ||
rel="preload" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/packages/pretendard/dist/web/static/woff2-dynamic-subset/Pretendard-Bold.subset.84.woff2" | ||
rel="preload" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/packages/pretendard/dist/web/static/woff2-dynamic-subset/Pretendard-Bold.subset.85.woff2" | ||
rel="preload" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/packages/pretendard/dist/web/static/woff2-dynamic-subset/Pretendard-Bold.subset.89.woff2" | ||
rel="preload" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/packages/pretendard/dist/web/static/woff2-dynamic-subset/Pretendard-Bold.subset.90.woff2" | ||
rel="preload" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
<link | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/packages/pretendard/dist/web/static/woff2-dynamic-subset/Pretendard-Bold.subset.91.woff2" | ||
rel="preload" | ||
as="font" | ||
type="font/woff2" | ||
crossorigin | ||
/> | ||
</head> | ||
|
||
<link | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/packages/pretendard/dist/web/static/woff2-dynamic-subset/Pretendard-Regular.subset.91.woff2" | ||
rel="preload" as="font" type="font/woff2" crossorigin /> | ||
<link | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/packages/pretendard/dist/web/static/woff2-dynamic-subset/Pretendard-Bold.subset.83.woff2" | ||
rel="preload" as="font" type="font/woff2" crossorigin /> | ||
<link | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/packages/pretendard/dist/web/static/woff2-dynamic-subset/Pretendard-Bold.subset.84.woff2" | ||
rel="preload" as="font" type="font/woff2" crossorigin /> | ||
<link | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/packages/pretendard/dist/web/static/woff2-dynamic-subset/Pretendard-Bold.subset.85.woff2" | ||
rel="preload" as="font" type="font/woff2" crossorigin /> | ||
<link | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/packages/pretendard/dist/web/static/woff2-dynamic-subset/Pretendard-Bold.subset.89.woff2" | ||
rel="preload" as="font" type="font/woff2" crossorigin /> | ||
<link | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/packages/pretendard/dist/web/static/woff2-dynamic-subset/Pretendard-Bold.subset.90.woff2" | ||
rel="preload" as="font" type="font/woff2" crossorigin /> | ||
<link | ||
href="https://cdn.jsdelivr.net/gh/orioncactus/[email protected]/packages/pretendard/dist/web/static/woff2-dynamic-subset/Pretendard-Bold.subset.91.woff2" | ||
rel="preload" as="font" type="font/woff2" crossorigin /> | ||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3BFVVPQT0Z"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag() { | ||
dataLayer.push(arguments); | ||
} | ||
gtag('js', new Date()); | ||
|
||
gtag('config', 'G-3BFVVPQT0Z'); | ||
</script> | ||
|
||
</head> | ||
|
||
<script async src="https://www.googletagmanager.com/gtag/js?id=G-3BFVVPQT0Z"></script> | ||
<script> | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag() { dataLayer.push(arguments); } | ||
gtag('js', new Date()); | ||
|
||
gtag('config', 'G-3BFVVPQT0Z'); | ||
</script> | ||
|
||
<body> | ||
<div id="root"></div> | ||
</body> | ||
|
||
<body> | ||
<div id="root"></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { useEffect, useState } from 'react'; | ||
|
||
const INITIAL_BOTTOM_BUTTON_HEIGHT = 0; | ||
|
||
const useButtonHeightOnKeyboard = () => { | ||
const [bottomButtonHeight, setBottomButtonHeight] = useState(INITIAL_BOTTOM_BUTTON_HEIGHT); | ||
|
||
useEffect(() => { | ||
const handleLockScroll = (e: TouchEvent) => { | ||
e.preventDefault(); | ||
}; | ||
|
||
document.body.addEventListener('touchmove', handleLockScroll, { passive: false }); | ||
return () => { | ||
document.body.removeEventListener('touchmove', handleLockScroll); | ||
}; | ||
}, []); | ||
|
||
useEffect(() => { | ||
const handleResizeScreen = () => { | ||
if (!visualViewport) return; | ||
|
||
setBottomButtonHeight(window.innerHeight - visualViewport.height); | ||
}; | ||
|
||
visualViewport?.addEventListener('resize', handleResizeScreen); | ||
|
||
return () => { | ||
visualViewport?.removeEventListener('resize', handleResizeScreen); | ||
}; | ||
}, []); | ||
|
||
return { bottomButtonHeight }; | ||
}; | ||
|
||
export default useButtonHeightOnKeyboard; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters