Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4058

hard coded timeout in mesh onSize

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 8.5.2.1
    • Components
    • Security Level: Jimmy
    • None
    • ZK 8.6.0 S2

      Reconsider hard coded timeout in mesh onSize function:

      https://github.com/zkoss/zk/blob/v8.5.2.1/zul/src/archive/web/js/zul/mesh/MeshWidget.js#L1083-L1087

      Arbitrary timeouts make it hard to know when the client side is "done" rendering. This in turn makes it more difficult to apply 3rd party JS e.g. to highlight fulltext search results in a grid/listbox/tree.

      If possible replace it in with more controllable mechanisms (zwatch onCommandReady) or fire a client side event when the timeout actually performs the update.

            Leon03 Leon03
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 1 day, 4 hours
                1d 4h
                Remaining:
                Remaining Estimate - 1 day, 4 hours
                1d 4h
                Logged:
                Time Spent - Not Specified
                Not Specified