online icon indicating copy to clipboard operation
online copied to clipboard

A lot of empty divs added to the body html element

Open eszkadev opened this issue 2 years ago • 0 comments

Describe the bug We noticed a lot of unnecessary elements in the html body: <div role="log" aria-live="assertive" aria-relevant="additions" class="ui-helper-hidden-accessible"></div>

Its some jsquery internal stuff: https://api.jqueryui.com/theming/css-framework/

Stack trace to place where one is created:

(anonymous) (jquery.js:6267)
domManip (jquery.js:6103)
append (jquery.js:6264)
jQuery.fn.<computed> (jquery.js:6398)
_create (jquery-ui.js:18298)
(anonymous) (jquery-ui.js:144)
_createWidget (jquery-ui.js:341)
$.<computed>.<computed> (jquery-ui.js:99)
(anonymous) (jquery-ui.js:281)
each (jquery.js:381)
each (jquery.js:203)
$.fn.<computed> (jquery-ui.js:273)
enableTooltip (Control.UIManager.js:729)
_colorControl (Control.JSDialogBuilder.js:2731)
_toolitemHandler (Control.JSDialogBuilder.js:230)
build (Control.JSDialogBuilder.js:3036)
_toolboxHandler (Control.JSDialogBuilder.js:432)
build (Control.JSDialogBuilder.js:3036)
onJSUpdate (Control.Sidebar.js:83)
fire (Events.js:152)
fireJSDialogEvent (Socket.js:1406)
_onJSDialog (Socket.js:1421)
_onMessage (Socket.js:1194)
_emitSlurpedEvents (Socket.js:331)
(anonymous) (Socket.js:281)
setTimeout (async)
_queueSlurpEventEmission (Socket.js:279)
_slurpMessage (Socket.js:379)

To Reproduce Steps to reproduce the behavior:

  1. Open Online - you will see many of htem already
  2. To add more, in Spreadsheet add new sheet or switch to other one

Expected behavior We shouldn't generate that huge number of empty divs.

eszkadev avatar Mar 23 '22 14:03 eszkadev