Merge branch 'main' into mobile/prepare-webviews-2
* main: Return to Board page when clearing filters Bump card perma z-index when dialog is open Only submit on blur if the input has a value Make the CLAUDE.md stub less obtrusive Only index up to 32KB of search content Use inline spacing variable Actually make it affect larger screens too Use CSS variable for panel size in delete dialogs Add viewport padding to dialogs on mobile Prevent page scrolling when modal dialog is open
This commit is contained in:
@@ -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