Skip to content

Commit

Permalink
set iframeHeight on graphTool popover for iframeResizer
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Jordan committed Apr 14, 2024
1 parent 61fb64a commit f48459b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions htdocs/js/GraphTool/graphtool.js
Original file line number Diff line number Diff line change
Expand Up @@ -2539,6 +2539,7 @@ window.graphTool = (containerId, options) => {
if (!gt.helpEnabled) gt.messageBox.classList.add('gt-disabled-help');
gt.messageBox.setAttribute('role', 'region');
gt.messageBox.setAttribute('aria-live', 'polite');
gt.messageBox.dataset.iframeHeight = '1';
gt.graphContainer.append(gt.messageBox);
gt.messageBox.addEventListener('keydown', (e) => {
if (e.key === 'Escape') gt.confirm.dispose?.(e);
Expand Down

0 comments on commit f48459b

Please sign in to comment.