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

[IR#59] - close_avatar_dropdown_on_item_click #59

Merged
merged 8 commits into from
Nov 8, 2023

Conversation

nicitaacom
Copy link
Owner

@nicitaacom nicitaacom commented Nov 7, 2023

Changes

1. Overflow hidden when modal isOpen improved

image
Now I have this scroll and this is better - also I improved scroll when modal isOpen - now I see no jumping left and right from navbar and I see the same background as it was before and I block user to scroll if modal isOpen

2. Close avatarDropdown on DropdownItem click

Just logic to close dropdown when I click on dropdown item

Result

https://streamable.com/94nbby

Github task - https://github.com/users/nicitaacom/projects/5?pane=issue&itemId=43896841
This task done - delete this branch and move task to 'Done'

I know that I renamed and moved some file for some reasons and it makes hard for me to review PR - in future I will consider that and use 'stash changes' - then rename file - then 'restore'
to be consistent with AvatarDropdown
Also I created store to get access to dropdown open / close functions

Also I improved avatarDropdown hook
Copy link

codesandbox bot commented Nov 7, 2023

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

vercel bot commented Nov 7, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
23-store ✅ Ready (Inspect) Visit Preview Nov 7, 2023 6:39pm

@nicitaacom nicitaacom changed the title [PR#]-imp-close_avatar_dropdown_on_item_click [PR#59]-imp-close_avatar_dropdown_on_item_click Nov 7, 2023
@nicitaacom nicitaacom changed the title [PR#59]-imp-close_avatar_dropdown_on_item_click [#59]-imp-close_avatar_dropdown_on_item_click Nov 7, 2023
@nicitaacom nicitaacom changed the title [#59]-imp-close_avatar_dropdown_on_item_click [PR#59]-imp-close_avatar_dropdown_on_item_click #59 Nov 7, 2023
@nicitaacom nicitaacom changed the title [PR#59]-imp-close_avatar_dropdown_on_item_click #59 [PR#59]-imp-close_avatar_dropdown_on_item_click Nov 7, 2023
@nicitaacom nicitaacom changed the title [PR#59]-imp-close_avatar_dropdown_on_item_click [IR#59]-close_avatar_dropdown_on_item_click Nov 7, 2023
@nicitaacom nicitaacom changed the title [IR#59]-close_avatar_dropdown_on_item_click [IR#59] - close_avatar_dropdown_on_item_click Nov 7, 2023
@nicitaacom nicitaacom merged commit 42a77c1 into development Nov 8, 2023
1 check passed
@nicitaacom nicitaacom deleted the root-imp-close_avatar_dropdown_onItemClick branch November 8, 2023 08:14
@@ -1,11 +1,7 @@
import Link from "next/link"
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit should be named as chore: support button incapsulated
chore - for update that doesn't affect on user

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant