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(dropdown): close dropdown when an item is clicked #533

Merged
merged 2 commits into from
Apr 20, 2023

Conversation

abugraokkali
Copy link
Contributor

This pull request adds automatic closing of the dropdown menu when an action is selected in the popover. This improves the user experience by eliminating the need for users to manually close the menu.

Fixes #529

@muratcorlu muratcorlu self-requested a review April 18, 2023 17:29
@muratcorlu
Copy link
Contributor

Hi @abugraokkali Thanks for the contribution. I’ll check the issue about the failing pipeline.

Copy link
Contributor

@muratcorlu muratcorlu left a comment

Choose a reason for hiding this comment

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

Looks very good to me! Thanks for this great contribution @abugraokkali !

I'll just consider this as a fix instead of feat, since I think this should be the expected behavior already.

@muratcorlu muratcorlu changed the title feat(dropdown): close when an item is clicked fix(dropdown): close when an item is clicked Apr 20, 2023
@muratcorlu muratcorlu changed the title fix(dropdown): close when an item is clicked fix(dropdown): close dropdown when an item is clicked Apr 20, 2023
@muratcorlu muratcorlu merged commit f78477b into Trendyol:next Apr 20, 2023
@muratcorlu muratcorlu mentioned this pull request May 10, 2023
muratcorlu added a commit that referenced this pull request May 12, 2023
This PR includes the features/fixes for the release of v2.1.0

## Features

* **Switch**: CSS property to set custom color for `off` state (#527)
* **Popover**: CSS properties to set `max-width` and `border-size` (#483)

## Fixes

* **Dropdown**: Close dropdown when an item is clicked (#533) 
* **Popover**: Prevent exiting fullscreen with popover close (#551)
* **Dialog**: Prevent exiting fullscreen with dialog close (#548)
* **Select**: Select item separator is back (#552) 
* React wrapper types (#532) 
* Set package type as module (#570)

Thanks to our contributors for this version 🚀 :

@muratcorlu @ogunb @abugraokkali @AykutSarac @ozkersemih
@github-actions
Copy link

🎉 This PR is included in version 2.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Dropdown should be closed when an item is clicked
2 participants