Browse Source

Fixes popover trigger handling

main
Keith Daulton 1 year ago
parent
commit
9173a1e75f
3 changed files with 6 additions and 9 deletions
  1. +1
    -1
      package.json
  2. +1
    -4
      src/webviews/apps/plus/focus/components/focus-app.ts
  3. +4
    -4
      yarn.lock

+ 1
- 1
package.json View File

@ -14708,7 +14708,7 @@
},
"dependencies": {
"@gitkraken/gitkraken-components": "10.1.9",
"@gitkraken/shared-web-components": "^0.1.1-rc.5",
"@gitkraken/shared-web-components": "^0.1.1-rc.6",
"@microsoft/fast-element": "1.12.0",
"@microsoft/fast-react-wrapper": "0.3.18",
"@octokit/core": "4.2.4",

+ 1
- 4
src/webviews/apps/plus/focus/components/focus-app.ts View File

@ -307,10 +307,7 @@ export class GlFocusApp extends LitElement {
)}
</nav>
<gk-popover>
<gk-button
slot="trigger"
@click=${this.onShowMenu}
@blur=${debounce(this.onHideMenu.bind(this), 250)}
<gk-button slot="trigger"
><code-icon icon="list-filter"></code-icon> ${this.mineFilterMenuLabel}
<code-icon icon="chevron-down"></code-icon
></gk-button>

+ 4
- 4
yarn.lock View File

@ -235,10 +235,10 @@
react-dom "16.8.4"
react-dragula "1.1.17"
"@gitkraken/shared-web-components@^0.1.1-rc.5":
version "0.1.1-rc.5"
resolved "https://registry.npmjs.org/@gitkraken/shared-web-components/-/shared-web-components-0.1.1-rc.5.tgz#62cb01f4dae95b569698319393b69f06ebf0847c"
integrity sha512-kONBFw+qciEffubYqzHQsPxx2NSL1Gw+KolMM28CuKVEKAJJJ2KAN9jDBaVhf/F6jelsCKCM3OFIgOVtjIrhhw==
"@gitkraken/shared-web-components@^0.1.1-rc.6":
version "0.1.1-rc.6"
resolved "https://registry.npmjs.org/@gitkraken/shared-web-components/-/shared-web-components-0.1.1-rc.6.tgz#bccd8a34cf27e6a4a9f0fb9b9267a110b1bcfc20"
integrity sha512-Udi/95zZlA1U5sqQVUGrHkQ0RrtF/Vd5FvTJT5UeKpRH6sYu5yd3ATTJMJ8R/GlUESeqlquGWVjkyNyLX3kz+w==
dependencies:
"@floating-ui/dom" "^1.4.2"
typescript "^4.9.5"

Loading…
Cancel
Save