FIX: Opening and closing of schema columns (#215)

Per: https://meta.discourse.org/t/cant-select-a-column-name-as-releasing-the-mouse-click-will-close-the-current-table-dropdown/250715/3

Fixed column toggling where columns should open and close when clicking column name, and not when clicking the column body.
This commit is contained in:
Isaac Janzen 2023-01-10 14:03:15 -06:00 committed by GitHub
parent 2b2e351331
commit 910b95bef8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -1,7 +1,6 @@
{{! template-lint-disable no-invalid-interactive }} <li class="schema-table {{this.styles}}">
<li class="schema-table {{this.styles}}" {{on "click" this.toggleOpen}}>
{{! template-lint-enable no-invalid-interactive }} {{! template-lint-enable no-invalid-interactive }}
<div class="schema-table-name"> <div class="schema-table-name" role="button" {{on "click" this.toggleOpen}}>
{{#if this.open}} {{#if this.open}}
{{d-icon "caret-down"}} {{d-icon "caret-down"}}
{{else}} {{else}}