feat(member-live): unify the overview settings menu and add a reset-button tooltip
This commit is contained in:
parent
561463725a
commit
ca2aaa069c
5 changed files with 33 additions and 18 deletions
|
|
@ -352,14 +352,15 @@ Hooks.SortableList = {
|
|||
}
|
||||
}
|
||||
|
||||
// SortTooltip hook: shows the sort-header hint in the browser TOP LAYER via the
|
||||
// native Popover API, so it escapes the members table's overflow clipping
|
||||
// (overflow-x:auto forces overflow-y:auto, which clips a CSS tooltip below the
|
||||
// header) and paints above the sticky header, neighbor cells, and the pinned
|
||||
// checkbox column's fade — no z-index fight. The popover is shown on hover AND
|
||||
// keyboard focus and positioned next to the header with getBoundingClientRect
|
||||
// PopoverTooltip hook: shows a hint (referenced by data-tooltip-id) in the
|
||||
// browser TOP LAYER via the native Popover API, so it escapes the members
|
||||
// table's overflow clipping (overflow-x:auto forces overflow-y:auto, which clips
|
||||
// a CSS tooltip below the header) and paints above the sticky header, neighbor
|
||||
// cells, and the pinned checkbox column's fade — no z-index fight. Shown on hover
|
||||
// AND keyboard focus, positioned next to the trigger with getBoundingClientRect
|
||||
// (portable; CSS anchor-positioning is not yet supported in Safari/Firefox).
|
||||
Hooks.SortTooltip = {
|
||||
// Used by the sortable column headers and the column-manager reset button.
|
||||
Hooks.PopoverTooltip = {
|
||||
mounted() {
|
||||
this.tip = document.getElementById(this.el.dataset.tooltipId)
|
||||
// Feature-detect: without Popover API support fall back to no visual tooltip
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue