You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ca...@apache.org on 2019/02/08 20:04:19 UTC

[royale-asjs] branch develop updated: fix a case when drawer is open and user resize window to make it fixed and scroll remains removed when it should be recovered

This is an automated email from the ASF dual-hosted git repository.

carlosrovira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git


The following commit(s) were added to refs/heads/develop by this push:
     new 7416cdd  fix a case when drawer is open and user resize window to make it fixed and scroll remains removed when it should be recovered
7416cdd is described below

commit 7416cddca4f0897910c7bf63f74e1a10ce380d31
Author: Carlos Rovira <ca...@apache.org>
AuthorDate: Fri Feb 8 21:04:11 2019 +0100

    fix a case when drawer is open and user resize window to make it fixed and scroll remains removed when it should be recovered
---
 .../projects/Jewel/src/main/royale/org/apache/royale/jewel/Drawer.as     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Drawer.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Drawer.as
index 500927f..df40a29 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Drawer.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/Drawer.as
@@ -187,6 +187,7 @@ package org.apache.royale.jewel
 						setClassName(computeFinalClassNames()); 
 
 					toggleClass("open", _isOpen);
+					document.body.classList.remove("viewport");
 				}
             }
         }