Framework7: Detect if browser supports Framework7

Created on 19 Mar 2017  Â·  10Comments  Â·  Source: framework7io/framework7

This is a (multiple allowed):

  • [ ] bug
  • [x] enhancement
  • [ ] feature-discussion (RFC)

Hi Vladimir, is there any way to detect if the browser supports Framework7 or not? Neither in device API nor support API I found something. For example, IE 11 does not support Web Apps, Google Chrome does it well. So there should be any variable with true/false to use and show alerts according the status. Regards, Dennis

outdated

Most helpful comment

Hi,
this is not an issue with framework7, but with framework7-vue.
Object.assign is used there in 4 places (see this link)

Using this polyfill fixed it for me:
https://github.com/rubennorte/es6-object-assign
It would be great to add this to framework7-vue to make ie 11 happy.

All 10 comments

Define

IE 11 does not support Web Apps

@ZanderBrown - If I open an Framework7 app in IE 11, I have a black page with small grey menu on top - but no more. Open the same in Chrome, there is no issue. Dennis

I don't currently have access to IE11 but using IE NetRenderer to load Kitchen Sink produces:
image

@ZanderBrown - Please find attached my result for Internet Explorer 11.0.9600 on Windows 7

screenshot 001

Are you sure it is related to F7? I see your errors are because of none supported "Object.assign" method. F7 doesn't use this method

Thank

@nolimits4web - Did you test on IE 11 - or, should it even work in IE 11?

Hi,
this is not an issue with framework7, but with framework7-vue.
Object.assign is used there in 4 places (see this link)

Using this polyfill fixed it for me:
https://github.com/rubennorte/es6-object-assign
It would be great to add this to framework7-vue to make ie 11 happy.

@akralj could you post this over at the f7-vue repo?

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings