Skip to main content
11-Garnet
October 21, 2020
Question

Displaying a Modal Popup on iPad (iOS 14 Webkit)

  • October 21, 2020
  • 2 replies
  • 4634 views

After comparing the performance of displaying a modal popup on a windows device and an iOS device we came to the conclusion that displaying the modal popup on iOS devices leads to performance and stability issues. 

Comparison test: displaying an empty modal popup on iOS and Windows Chrome

on iOS it took approx. 20 sec for the user interface to be responsible again (after the input it often crashed, and the page had to be refreshed)

on Windows the modal page is loaded immediately

2 replies

1-Visitor
October 22, 2020

After our initial bughunting with @gbirnzain yesterday I investigated a bit further today and the problem seems to not only occur on new versions of iPadOS but also macOS. I tested in Safari on iPadOS 13.7 & 14.2 as well as on macOS Catalina and BigSur, and both on macOS BigSur as well as iPadOS 14.2 the same behavior can be observed.

 

Below is a screenshot of the tracing from the iPad:
1) tapped the popup-close button 2) iPad reacted to touch again 3) normal input possible again1) tapped the popup-close button 2) iPad reacted to touch again 3) normal input possible again

 

1) I close the popup here, which freezes the browser for almost 20 seconds
2) popup is now closed, interactions possible again
3) another, random interaction with the page to verfiy it's working as before

 

Other finds that may be interesting:

  • the Webkit thread does not seem to be doing any work during the freeze, only the main thread is running at 100%
  • behavior did not change noticeably when closing an empty widget vs. one with content on it
Support
November 2, 2020

Hi @gbirnzain and @felix.gruber .

 

What version of ThingWorx are you running?  What version of Safari?  Some improvements were made in ThingWorx 9.0.  However, since iOS 14 is so new, there may be issues we are not yet aware of.

 

We may need to open a case for this, so I need specifics regarding your system configuration, such as the O/S version you're running, etc.

 

Regards.

 

--Sharon

 

 

 

 

1-Visitor
November 4, 2020

Hi @slangley! I did the tests on devices with the following configurations:

 

1st gen iPad Pro:

- iPadOS version 14.2 (18B91)

- Safari is therefore also on the newest available version

 

2015 iMac 5k:

- macOS Big Sur Beta 11.0.1 (20B5015d)

- Safari 14.0.1 (16610.2.11.51.4)

 

Our clients' Thingworx installation is currently at 8.5.5-b103. Could this be the whole issue?

Support
November 4, 2020

Hi @felix.gruber.

 

Unfortunately, there are a number of iOS issues affecting the pre-9.0 releases and since iOS 14 was not available at that time, no testing was completed for validating the behavior.

 

We are continuing to make improvements with each new release, but there are no plans to address issues in the older releases.

 

In regard to the issues experienced running Safari on Mac OS 10, have you tried with another browser?  If would be interesting to see if you have the same problems or not.

 

Regards.

 

--Sharon