jQWidgets Forums

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Editor too small Editor too small #71980

    celeona
    Participant

    That is a poor response. There are times I do not want to use the jqxWindow widget for a simple dialog where bootstrap modal is smaller faster and does what I need.

    I experienced the same issue placing the jqxEditor inside a bootstrap modal. The first time it displayed it was fine, after that it was the 92px.

    I traced the problem to a leak within jqxWidgets. When the jqxEditor widget is cleaned up it is not removed from the resize timer. The timer continues to fire, and the widget continues to exist in memory. Because it already has a resize handler, when you create the new editor a new handler is not registered and the box is never resized from 92px.

    I also use jqxGrid inside a bootstrap modal and it does not exhibit this behaviour. Looking at the destroy method in the grid, I noticed it calls the resize utility with a parameter for destroy. The jqxEditor’s destroy method is missing this call.

    Adding 1 line to the 2nd line of the destroy method in jqxEditor fixes the behaviour, and cleans up the leak.

    *********************REMOVED CODE DUE TO EULA VIOLATION********************

    This is using jqxWidgets 3.7.1, it also had the same problem in 3.6.0.

Viewing 1 post (of 1 total)