본문 바로가기

분류 전체보기528

[CSS] 터치 이벤트 후 호버 상태 문제(hover state issue after touch event) 문제상황 not hover hover 위의 상태가 정상인데 touch event가 발생한 경우 hover 상태가 유지되는 문제 발생 해결 구글링 How to remove/ignore :hover css style on touch devices I want to ignore all :hover CSS declarations if a user visits our website via touch device. Because the :hover CSS does not make sense, and it can even be disturbing if a tablet triggers it on clic... stackoverflow.com @media (hover: hover) and (pointer: fine) {.. 2022. 12. 1.
A non-serializable value was detected in an action, in the path: `register`. ~ 에러 해결 redux-persist 라이브러리를 사용하는데 있어서 아래 이미지와 같은 에러가 콘솔창에 찍힙니다. https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data 를 확인하라고 합니다. 확인해보니 redux-persist를 사용할 때에는 getDefaultMiddleware 함수에 인자로 예외처리를 해주어야 한다고 합니다. const store = configureStore({ reducer: persistedReducer, middleware: (getDefaultMiddleware) => getDefaultMiddleware({ serializableCheck: { ignoredActions: [FLUSH, REHY.. 2022. 9. 29.
Next.js 에서 Script가 여러개 추가되는 문제 Script 태그에 id 속성을 추가합시다..! 2022. 7. 13.
standard_init_linux.go:228: exec user process caused: exec format error 상황 M1X 맥북 프로에서 docker build 후 로컬 테스트 완료 AWS ECR에 배포 후 Fargate로 작업 실행시 로그에 아래와 같이 남음 standard_init_linux.go:228: exec user process caused: exec format error 해결 아무래도 이해가 안되서 검색을 해보니... M1X 아키텍처 문제인듯 합니다. docker build시 명령어를 아래와 같이 사용하면 됩니다. docker buildx build --platform=linux/amd64 -t xxx xxx 2022. 5. 11.