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

When I have a button inside of an contex-menu that is inside of a button, when I click any of the nested buttons, the context menu lingers (does not close) #50

Open
5 tasks done
cimslab opened this issue Sep 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@cimslab
Copy link

cimslab commented Sep 11, 2024

Describe the bug 📝

When I have a button inside of an contex-menu that is inside of a button, when I click any of the nested buttons, the context menu lingers (does not close)

Also, the icons are not visible and the tooltip is only visible inside the context menu which is weird. I am attaching a video

ie:
return BUI.Component.create<BUI.PanelSection>( () => BUI.html



<bim-button label="IDS" tooltip-title="Information Delibery Specification" tooltip-text="Show IDS Tasks." @click=${onIds}>
${loadBtn}
<bim-button label="BCF" id='bcf-btn' tooltip-title="BIM Collaboration Format" tooltip-text="Show BCF Tasks."
icon=''
@click=${onBCFTasks}>


<bim-button id="add-media-btn" @click=${onMediaEnabled} vertical label="Add media" icon="gg:add" tooltip-title="Add Media"
tooltip-text="Click to add media to objects.">

);

contex-menu-btn.mp4

Reproduction ▶️

No response

Steps to reproduce 🔢

return BUI.Component.create<BUI.PanelSection>( () => BUI.html



<bim-button label="IDS" tooltip-title="Information Delibery Specification" tooltip-text="Show IDS Tasks." @click=${onIds}>
${loadBtn}
<bim-button label="BCF" id='bcf-btn' tooltip-title="BIM Collaboration Format" tooltip-text="Show BCF Tasks."
icon=''
@click=${onBCFTasks}>


<bim-button id="add-media-btn" @click=${onMediaEnabled} vertical label="Add media" icon="gg:add" tooltip-title="Add Media"
tooltip-text="Click to add media to objects.">

);

System Info 💻

bui

Used Package Manager 📦

yarn

Error Trace/Logs 📃

No response

Validations ✅

  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Make sure this is a repository issue and not a framework-specific issue. For example, if it's a THREE.js related bug, it should likely be reported to mrdoob/threejs instead.
  • Check that this is a concrete bug. For Q&A join our Community.
  • The provided reproduction is a minimal reproducible example of the bug.
@cimslab cimslab added the bug Something isn't working label Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant