You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2019/11/20 22:07:47 UTC

[royale-asjs] branch develop updated: no pointer events on grid overlay. Should fix #564

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

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


View the commit online:
https://github.com/apache/royale-asjs/commit/ddc8dda978da68f3080db2737ca03dad0505a6f1

The following commit(s) were added to refs/heads/develop by this push:
     new ddc8dda  no pointer events on grid overlay.  Should fix #564
ddc8dda is described below

commit ddc8dda978da68f3080db2737ca03dad0505a6f1
Author: Alex Harui <ah...@apache.org>
AuthorDate: Wed Nov 20 14:07:37 2019 -0800

    no pointer events on grid overlay.  Should fix #564
---
 .../main/royale/org/apache/royale/html/beads/DataGridLinesBead.as   | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DataGridLinesBead.as b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DataGridLinesBead.as
index 6341217..6350e8b 100644
--- a/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DataGridLinesBead.as
+++ b/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/DataGridLinesBead.as
@@ -128,7 +128,11 @@ package org.apache.royale.html.beads
 			var host:UIBase = _strand as UIBase;
             _area = _view.listArea as UIBase;
 			_area.addElement(_overlay);
-			
+            COMPILE::JS
+            {
+                _overlay.element.style.pointerEvents = "none";        
+            }
+
 			// Now set up listeners to handle changes in the size of the DataGrid.
 			IEventDispatcher(_strand).addEventListener("sizeChanged", drawLines);
 			IEventDispatcher(_strand).addEventListener("widthChanged", drawLines);