-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/sticky player #24
base: develop
Are you sure you want to change the base?
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/zpapoo/ncha-frontend/p1aq7bhpe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
aweeeesome! 👍
} | ||
` | ||
|
||
const Container = styled<'div', {isVisible: boolean}>('div')` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about this?
const Container = styled<'div', {isVisible: boolean}>('div')` | |
const Container = styled.div<{ isVisible: boolean }>` |
@@ -8,7 +9,7 @@ import { | |||
playerActions, | |||
} from 'features/playerSlice' | |||
import { useFetchWithStore } from 'hooks/useFetch' | |||
import React from 'react' | |||
import React from 'react' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
import React from 'react' | |
import React from 'react' |
{ | ||
currentComment.map((comment: Comment) => { | ||
const { kind, contents, time, id } = comment | ||
<div id={COMMENT_WRAPPER}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
import { useCallback, useEffect, useState } from 'react' | ||
|
||
interface Params { | ||
handleWheel: (params?: any) => void; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how about this?
WheelEventHandler
Desc
comment
화면에서 스크롤에 따라 상단 Player를 fold -> unfold하는 애니메이션을 추가했습니다.Demo
재생버튼
이 닫힌 후에 상단 Title이 닫히게 한번 해보고는 싶은데, 조금 어렵네요 ㅠ @JaeYeopHan