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

feat(Table): close table actions popup after click #1546

Merged
merged 3 commits into from
Apr 23, 2024

Conversation

KirillDyachkovskiy
Copy link
Contributor

No description provided.

@gravity-ui-bot
Copy link
Contributor

Playwright Test Component is ready.

@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@@ -112,7 +113,7 @@ const DefaultRowActions = <I extends TableDataItem>({
rowActionsSize,
isRowDisabled,
}: DefaultRowActionsProps<I>) => {
const [open, setOpen] = React.useState(false);
const [open, , onClose, onToggle] = useBoolean(false);
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's name it more meaningfully, [isOpen, , close, toggle]

@KirillDyachkovskiy KirillDyachkovskiy merged commit 0ab21bb into main Apr 23, 2024
5 checks passed
@KirillDyachkovskiy KirillDyachkovskiy deleted the uikit-fix-table-actions branch April 23, 2024 14:03
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.

4 participants