I can hide and show the columns, and it dynamically updates the grid
This commit is contained in:
@@ -1200,8 +1200,10 @@ function triggerHtmxAction(elementId, config, combinationStr, isInside, event) {
|
||||
}
|
||||
}
|
||||
|
||||
// Prevent default if we found any match and not in input context
|
||||
if (currentMatches.length > 0 && !isInInputContext()) {
|
||||
// Prevent default only if click was INSIDE a registered element
|
||||
// Clicks outside should preserve native behavior (checkboxes, buttons, etc.)
|
||||
const anyMatchInside = currentMatches.some(match => match.isInside);
|
||||
if (currentMatches.length > 0 && anyMatchInside && !isInInputContext()) {
|
||||
event.preventDefault();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user