Skip to content

Commit 4cfda46

Browse files
committed
Use filter row as the container for popovers
1 parent 81478ca commit 4cfda46

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Griddly/Scripts/griddly.js

+1-4
Original file line numberDiff line numberDiff line change
@@ -846,10 +846,7 @@
846846
$(el).popover({
847847
html: true,
848848
placement: "bottom",
849-
// TODO: figure out how to have griddly in modal and still use body container. as it is, something about the modal
850-
// blocks inputs in popovers from getting focus. so as a fallback I put it back in the bouding container,
851-
// which will work but means it will get cut off if griddly is scrollable
852-
container: null, // this.$element.parents(".modal").length ? null : "body",
849+
container: ".griddly-filters-inline",
853850
template: '<div class="popover griddly-filter-popover"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>',
854851
content: function ()
855852
{

0 commit comments

Comments
 (0)