-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ng2-semantic-ui breaks the application on mobile UC Browser #202
Comments
Hi, so here is the diff between |
There are no critical changes between the versions for me (0.9.3 - 0.9.4). @edcarroll I updated from 0.8.4 to 0.9.4 and maybe the problem arose even earlier. Tommorow morning, I'll go through all the versions starting from 0.8.5, so that I can understand exactly when the problems begin. At once I will write as soon as I will be defined with the version. Thank you for dealing with my problem =) |
Ahhh sorry completely misread your original message! If you could go through the versions to try and track down the problem that would be ideal - thank you! I'm sure we'll get to the bottom of this 😄 |
I am also having problems with the last update. I was using 0.9.2 and when i updated, the datepicker, popups no longer work. But the modal works correctly. Strange because it shows nothing on the console |
@publidex are you also using UC Browser? |
No. But I tested Chrome, Firefox and Edge. Desktop not mobile |
Try deleting |
@edcarroll I think I figured out the problem. It looks like it's some conflict with the "BrowserAnimationsModule" when i remove it back to working perfectly. |
@edcarroll that's what I managed to find out (step by step): Step 1I created a new project in order to be sure that the error does not occur in my code and everything worked before the update. Here is the installed package:
popper.js and typescript v2.3.2 - avoid different ts mistakes. Here are the screenshots of the app, everything works fine. From left to right - Chrome & UC Browser: Step 2I upgraded ng2-semantic-ui to next available version - v0.9.0. App has broken down in UC Browser: Step 3Then I remove import of the main module Step 4I did not find the best option for debugging error in mobile UC Browser... I used this in index.html:
Here is screenshot of app: Then I climbed in vendor.bundle.js file, line 17935: Problem here:
Code is compiled, but it is seen thet app in UC Browser breaks FocusEvent in dropdown. @edcarroll I hope that this will help you. I am ready to provide you with any additional information or help in additional tests =) |
@yavorskiy-web amazing, thank you for such extensive testing!! So this is definitely due to the fact that UC Browser doesn't define a Could you please give it a go (download the attachment, and replace the directories in Thanks! |
@publidex glad you got it sorted, strange that it was conflicting with that module given |
@edcarroll thank you very much, tomorrow I will conduct tests and write the result, sorry for the delay. |
@edcarroll your custom build fixes the problem, everything works great! Thanks a lot, It's magic! =) |
Awesome! Will make the change in the main app and release it officially next release 😄 |
Closes #202 FocusEvent isn't defined in UC browser, so added IFocusEvent with the property we need.
* fix: Added custom FocusEvent interface Closes #202 FocusEvent isn't defined in UC browser, so added IFocusEvent with the property we need. * style(util): Fixed tslint error
* fix: Fixed AOT on SystemJS builder Closes #209 * fix: Added custom FocusEvent interface (#231) * fix: Added custom FocusEvent interface Closes #202 FocusEvent isn't defined in UC browser, so added IFocusEvent with the property we need. * style(util): Fixed tslint error * chore(popup): Relaxed popper.js dependency (#228) Follows up on #195 * fix(popup): Fixed delay causing destroyed view errors (#233) Closes #189 * fix(select): Manually run change detector when option updates (#236) * fix(select): Manually run change detector when option updates Closes #213 * style(select): Fixed tslint error * fix(select): Selected options now updated when options change (#232) * fix(modal): Fixed aggressive autofocus sometimes causing errors (#237) * fix(popup): Fixed conflict with BrowserAnimationsModule (#234) * fix(popup): Fixed conflict with BrowserAnimationsModule Closes #204 * style(popup): Fixed tslint error * feat(popup): Added template context support (#238) * fix(popup): Fixed focus events on popup (#243) * feat(datepicker) Popup now honors locale and pickerLocaleOverrides (#215) * Datepicker popup now honors locale and pickerLocaleOverrides - Datepicker popup items now respect locale format - Fixed a bug in zoom calendar mapping for datetime datepicker - Fixed 'es' locale for consistency (*) Partially addresses #164 * Added comments. * Time of day values supported in locale definitions (#214) * en-GB and en-US locales now use 12 hour format Original "HH:mm" (23:59) -> Now "hh:mm aa" (11:59 p.m.) * Fix locales Russian, Italian and Hebrew now extend from ILocaleValues. * Added new IDatepickerFormatsLocaleValues fields: - timesOfDay - timesOfDayUppercase - timesOfDayLowercase to support proper formatting/parsing of dates in datepicker. Updated Localization page * Fixing code formatting * feat(datepicker) Added initial date support for the datepicker (#216) * feat(datepicker) New input pickerInitialDate - New input (optional) that sets the intial date to display (null = today) - Updated demo page Partially addresses #165 * Now pickerInitialDate only sets CalendarService.currentDate property * feat(datepicker): Initial date support - Code formatting * fix: Various minor bugfixes (#245) * fix(select): Fixed destroyed view errors * fix(modal): Fix modal auto closing when clicked * fix(popup): Removed console log in focus handler * fix(popup): Forced import of TemplateRef * fix: Fixed AOT on SystemJS builder Closes #209
@yavorskiy-web this is now live in |
* fix: Added custom FocusEvent interface Closes edcarroll#202 FocusEvent isn't defined in UC browser, so added IFocusEvent with the property we need. * style(util): Fixed tslint error
* fix: Fixed AOT on SystemJS builder Closes edcarroll#209 * fix: Added custom FocusEvent interface (edcarroll#231) * fix: Added custom FocusEvent interface Closes edcarroll#202 FocusEvent isn't defined in UC browser, so added IFocusEvent with the property we need. * style(util): Fixed tslint error * chore(popup): Relaxed popper.js dependency (edcarroll#228) Follows up on edcarroll#195 * fix(popup): Fixed delay causing destroyed view errors (edcarroll#233) Closes edcarroll#189 * fix(select): Manually run change detector when option updates (edcarroll#236) * fix(select): Manually run change detector when option updates Closes edcarroll#213 * style(select): Fixed tslint error * fix(select): Selected options now updated when options change (edcarroll#232) * fix(modal): Fixed aggressive autofocus sometimes causing errors (edcarroll#237) * fix(popup): Fixed conflict with BrowserAnimationsModule (edcarroll#234) * fix(popup): Fixed conflict with BrowserAnimationsModule Closes edcarroll#204 * style(popup): Fixed tslint error * feat(popup): Added template context support (edcarroll#238) * fix(popup): Fixed focus events on popup (edcarroll#243) * feat(datepicker) Popup now honors locale and pickerLocaleOverrides (edcarroll#215) * Datepicker popup now honors locale and pickerLocaleOverrides - Datepicker popup items now respect locale format - Fixed a bug in zoom calendar mapping for datetime datepicker - Fixed 'es' locale for consistency (*) Partially addresses edcarroll#164 * Added comments. * Time of day values supported in locale definitions (edcarroll#214) * en-GB and en-US locales now use 12 hour format Original "HH:mm" (23:59) -> Now "hh:mm aa" (11:59 p.m.) * Fix locales Russian, Italian and Hebrew now extend from ILocaleValues. * Added new IDatepickerFormatsLocaleValues fields: - timesOfDay - timesOfDayUppercase - timesOfDayLowercase to support proper formatting/parsing of dates in datepicker. Updated Localization page * Fixing code formatting * feat(datepicker) Added initial date support for the datepicker (edcarroll#216) * feat(datepicker) New input pickerInitialDate - New input (optional) that sets the intial date to display (null = today) - Updated demo page Partially addresses edcarroll#165 * Now pickerInitialDate only sets CalendarService.currentDate property * feat(datepicker): Initial date support - Code formatting * fix: Various minor bugfixes (edcarroll#245) * fix(select): Fixed destroyed view errors * fix(modal): Fix modal auto closing when clicked * fix(popup): Removed console log in focus handler * fix(popup): Forced import of TemplateRef * fix: Fixed AOT on SystemJS builder Closes edcarroll#209
Bug description:
I'm writing an app for China. The most popular browser in China - UC Browser. For a long time I worked with ng2-semantic-ui v0.8.4 everything worked perfectly. After I updated the library to version 0.9.4, app does not run on UC Browser. Unfortunately I can't track down an error. Maybe you can do it. Help me please, I do not want to dwell on the old version of you great lib.
Version of Angular, ng2-semantic-ui, and Semantic UI:
Angular: 4.3.2
ng2-semantic-ui: 0.9.4
Semantic UI: 2.2.11
The text was updated successfully, but these errors were encountered: