Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

IE Edge Performance Issue when creating InfoBubble #32

Open
kunalgithub opened this issue Oct 15, 2016 · 1 comment
Open

IE Edge Performance Issue when creating InfoBubble #32

kunalgithub opened this issue Oct 15, 2016 · 1 comment

Comments

@kunalgithub
Copy link

I am creating multiple markers with InfoBubble on the page using a for loop.

I saw in Chrome that InfoBubble takes around a millisecond to create on an avaergae.

But on IE10 , IE Edge - it takes on an average 60 ms .

Here is the sample :
var infoBubble = new InfoBubble( {
content : someHTMLString
minWidth : 310,
backgroundColor : 'rgb(1,89,68),
borderRadius : 0 ,
borderWidth : 0 ,
backgroundClassName : 'branch_bubble_data',
disableAutoPan: false,
maxHeight : 200
})

@alesleinweber
Copy link

I can confirm a real performance issue, I am getting 15 - 50 times longer scripting time on IE compared to Chrome.
It seems to be the clientHeight call on the browser in the positionCloseButton function, see http://i.imgur.com/4vswcLY.jpg

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants