Possible improvement in datebox calendar open() method

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 8.0.3
    • Affects Version/s: 8.0.2
    • Component/s: None
    • Security Level: Jimmy
    • None
    • ZK 8.0.3 S3
    • None

      The current implementation of datebox calendar open() creates a timeout such as:

      zul.db.CalendarPop.open(){
      ...
      		setTimeout(function () {
      			_reposition(db, silent);
      			zWatch.fireDown('onVParent', self.parent.$n('pp'), { shadow: self._shadow });
      		}, 150);
      

      This causes flickering when the popup re-position itself in some cases.
      It might be possible to avoid calling the arbitrary timeout at 150ms by using zWatch onCommandReady if this need to be executed later.

            Assignee:
            christopherszu
            Reporter:
            MDuchemin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 2 hours, 5 minutes
                2h 5m