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(Popover): 能否实现点击按钮弹出 Popover 弹出框后,失去焦点时自动关闭? #4734

Closed
1 task done
huangyy21 opened this issue Nov 25, 2024 · 4 comments · Fixed by #4735
Closed
1 task done
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@huangyy21
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Is your feature request related to a problem? Please describe the problem.

No response

Describe the solution you'd like

点击激活弹出框后,点击其他地方自动关闭弹出框

Additional context

No response

@huangyy21 huangyy21 added the enhancement New feature or request label Nov 25, 2024
Copy link

bb-auto bot commented Nov 25, 2024

@huangyy21 Thank you for contacting us. We will give feedback later.

@bb-auto bb-auto bot added this to the v9.0.0 milestone Nov 25, 2024
@ArgoZhang
Copy link
Collaborator

ArgoZhang commented Nov 25, 2024

@huangyy21

/// <summary>
/// 获得/设置 弹窗触发方式 默认 click 可设置 hover focus
/// </summary>
[Parameter]
public string? Trigger { get; set; }

hover focus 方式无法交互,适合仅信息

@huangyy21
Copy link
Contributor Author

请问有办法在可交互的情况下实现吗?

@ArgoZhang
Copy link
Collaborator

建议看看底层 bs 设计,这限制不是我们组件库限制的,是 bs 限制的

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

Successfully merging a pull request may close this issue.

2 participants