Merge pull request #2409 from basecamp/improve-filter-settings-ux
Improve filter settings ux
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
position: relative;
|
||||
|
||||
&:has(dialog[open]) {
|
||||
z-index: 2;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
&:has(.card-perma__star-input:checked) {
|
||||
|
||||
@@ -54,6 +54,10 @@ export default class extends Controller {
|
||||
}
|
||||
|
||||
submitToTopTarget(event) {
|
||||
const value = event.target.value?.trim()
|
||||
|
||||
if (!value) return false
|
||||
|
||||
this.element.setAttribute("data-turbo-frame", "_top")
|
||||
this.submit()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user