Fix filter toggle click propagation to preview badge
- Added check to ignore clicks on .toggle-count.clickable in filter-group-toggle handler - Prevents parent button from expanding values when clicking preview badge - Added .gitignore to exclude node_modules Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1566,6 +1566,10 @@
|
||||
|
||||
// Toggle filter group - show values
|
||||
this.$dropdown.on('click', '.filter-group-toggle', function(e) {
|
||||
// Ignore clicks on the preview badge
|
||||
if ($(e.target).closest('.toggle-count.clickable').length) {
|
||||
return;
|
||||
}
|
||||
e.preventDefault();
|
||||
var $btn = $(this);
|
||||
var groupId = $btn.data('group-id');
|
||||
|
||||
Reference in New Issue
Block a user