Skip to content

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

@cimslab

Description

@cimslab

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @cimslab

        Issue actions

          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) · Issue #50 · ThatOpen/engine_ui-components