You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was having issues in Safari and Firefox when testing the Advanced Router. It wasn't firing the xhr but is was firing _showSpinner(). For some odd reason when I changed new DocumentFragment() to document.createElement('div') it works in all the browsers I tested.
I know that DocumentFragment has performance benefits so I attempted to do
if (new DocumentFragment()) {
this._view = new DocumentFragment();
}
else {
this._view = document.createElement('div');
}
This worked in Chrome but still didn't work in Safari or FF. It appears that DocumentFragment is well supported so I'm confused by the xhr won't fire in those browsers if DocumentFragment is being used. I've shown here where I've changed the code to work in the browsers. Anyone have a thought on why this occurs and possibly how to fix it?
The text was updated successfully, but these errors were encountered:
I was having issues in Safari and Firefox when testing the Advanced Router. It wasn't firing the xhr but is was firing _showSpinner(). For some odd reason when I changed
new DocumentFragment()
todocument.createElement('div')
it works in all the browsers I tested.I know that DocumentFragment has performance benefits so I attempted to do
This worked in Chrome but still didn't work in Safari or FF. It appears that DocumentFragment is well supported so I'm confused by the xhr won't fire in those browsers if DocumentFragment is being used. I've shown here where I've changed the code to work in the browsers. Anyone have a thought on why this occurs and possibly how to fix it?
The text was updated successfully, but these errors were encountered: