Skip to content
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

[Fix] - 6차 데모데이 1차 QA(시모) #578

Merged
merged 4 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ export const Checkbox = styled.input`

export const iconStyle = css`
position: absolute;
left: 0;
`;
2 changes: 1 addition & 1 deletion frontend/src/components/common/Chip/Chip.styled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const getButtonColorStyling = (isSelected: boolean) => {
const fadeInMove = keyframes`
from {
opacity: 0;
transform: translateY(1rem);
transform: translateY(-1rem);
}

to {
Expand Down
3 changes: 2 additions & 1 deletion frontend/src/components/pages/main/MainPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const MainPage = () => {
selectedTravelPeriodOption: travelPeriod.selectedOption,
});

const { scrollRef, handleMouseDown, handleMouseMove, handleMouseUp } =
const { scrollRef, handleMouseUp, handleMouseDown, handleMouseMove } =
useDragScroll<HTMLUListElement>();
const { modalRef, handleKeyDown } = useKeyDown<HTMLElement>({
isOpen: true,
Expand Down Expand Up @@ -185,6 +185,7 @@ const MainPage = () => {
onMouseDown={handleMouseDown}
onMouseUp={handleMouseUp}
onMouseMove={handleMouseMove}
onMouseLeave={handleMouseUp}
onKeyDown={handleKeyDown}
>
{sortedTags.map((tag, index) => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/my/MyLikes/MyLikes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const MyLikes = ({ userData }: MyLikesProps) => {
};

const handleClickIconButton = () => {
navigate(ROUTE_PATHS_MAP.root);
navigate(ROUTE_PATHS_MAP.main);
};

useEffect(() => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ const TravelogueList = ({ keyword, searchType }: TravelogueListProps) => {
onMouseDown={handleMouseDown}
onMouseUp={handleMouseUp}
onMouseMove={handleMouseMove}
onMouseLeave={handleMouseUp}
>
{sortedTags.map((tag, index) => {
const isSelected = selectedTagIDs.includes(tag.id);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ const TravelogueEditPage = () => {
onMouseDown={handleMouseDown}
onMouseUp={handleMouseUp}
onMouseMove={handleMouseMove}
onMouseLeave={handleMouseUp}
>
{sortedTags.map((tag, index) => (
<Chip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ const TravelogueRegisterPage = () => {
onMouseDown={handleMouseDown}
onMouseUp={handleMouseUp}
onMouseMove={handleMouseMove}
onMouseLeave={handleMouseUp}
>
{sortedTags.map((tag, index) => (
<Chip
Expand Down
Loading