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

Possible improvement in datebox calendar open() method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • 8.0.3
    • 8.0.2
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.0.3 S3

      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.

            christopherszu christopherszu
            MDuchemin 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