FlexLayout icon indicating copy to clipboard operation
FlexLayout copied to clipboard

New version has problem with canvas object which has a map object inside

Open spider58 opened this issue 4 years ago • 3 comments

Hi,

I using canvas object which has a map object (such as mapbox) inside. When i upgrade flexlayout from 0.3.11 to 0.4.9 map object is being not moveable with mouse. All mouse events on canvas doesn't working. 0.3.11 has no problem.

What can i do to solve this problem

spider58 avatar Sep 06 '20 11:09 spider58

Can you give more details: is this in all tabs (or just popped out tabs)?, what browser, any messages in the console ...

nealus avatar Sep 06 '20 14:09 nealus

@nealus thanks for answer

here is my flexlayout configuration

"layout" : {
    "type": "row",
    "children" : [
               { 
                      "type" : "tabset",
                      "id" : "myCanvas",
                     "children" : [ 
                             "type" : "tab",
                             "name" : "myMap",
                             "component" : "MapComponent",
                              "enableClose" : "false"
                ]
         }
   ]

}

and no any error message in the console. Browser is chrome version 60.0.3113.101

  • As i said flexlayout 0.3.11 working without problem on all tabs with all components
  • Any tabs which has no Canvas working without problem on latest version
  • Latest version has problem with Canvas

thanks

spider58 avatar Sep 07 '20 12:09 spider58

Can you create a simple program/JSFiddle that I can run to debug this problem?

nealus avatar Sep 07 '20 16:09 nealus