another angular2 release, RC4, another breaking change.
seems that $.browser is no more present (why?) so layout.js fails (line 18).
commenting out the if " if(this.mobile && $.browser.mozilla) {..." seems to fix the issue.
but cannot get why happens only with RC4
mozilla is not defined with angular RC4
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Can you please try our new layout version? and Do you get an error with our live demo? http://www.primefaces.org/modena-primeng/
Github Profile: https://github.com/mertsincan
-
- Posts: 20
- Joined: 10 Jun 2016, 11:48
yes, tried with latest 1.0.2
and yes, happens also on your demo, just use the device selector of chrome to simulate any mobile device.
if you're in desktop mode, it won't happen.
and yes, happens also on your demo, just use the device selector of chrome to simulate any mobile device.
if you're in desktop mode, it won't happen.
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Please add this fix;
I'll add this fix into next release.
Code: Select all
init: function() {
...
//remove transform on Firefox Mobile
if(this.mobile && ($.browser && $.browser.mozilla)) {
this.mobileMenuButton.addClass('no-transform');
this.menu.addClass('no-transform');
}
...
},
...
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Fixed for next release. https://github.com/primefaces/layouts/issues/97
Github Profile: https://github.com/mertsincan
-
- Posts: 5281
- Joined: 29 Jun 2013, 12:38
Thanks for the update!
Github Profile: https://github.com/mertsincan
-
- Information
-
Who is online
Users browsing this forum: No registered users and 4 guests