Working great, thank you again!
That makes sense now. I thought that icon looked like the "fullscreen" button appearing in the wrong place.
Unrelated question... When I attempt to resize the side bar by dragging the top divider, it only moves a bit and I have to repeat the action multiple times. Is that expected behavior? I'm on v270. Screen recording:
Yikes. Your touch events are scrolling the whole page along with moving the divider. That isn't supposed to be possible for multiple reasons, but apparently is another bug with progressive web apps (PWAs) on iOS.
I don't own a modern iOS device still, so if you are willing to experiment with a few things to see what fixes it, please try:
First potential solution
in
ui3.htm
after the
<head>
element, paste this style block. (by putting it directly in to the HTML file you will be able to avoid caching issues that would occur if modifying
ui3.css
).
HTML:
<style type="text/css">
html
{
margin: 0;
overscroll-behavior: none;
}
#systemnamewrapper
{
background-color: red !important;
}
</style>
Then close and reopen the UI3 progressive web app to make sure the new content is loaded. I put a rule in there that changes the system name background to bright red so it will be obvious if your changes got loaded and you won't have to guess.
Test if that fixed the issue properly. Some things I would test:
1. Dragging the divider should work as expected. (the entire page should NEVER move as seen in the video you shared)
2. The clip list should still scroll normally.
3. The UI Settings panel should still be movable by dragging the title bar and its content should be scrollable.
4. Test some other touch behaviors such as switching cameras and scrubbing in a clip or on the timeline.
If the above doesn't fix the issue, here are some more potential solutions based on a
stackoverflow question.
Second potential solution
Delete the css rule for html (from the style block you added for the first solution), and paste this in the style block instead:
Code:
body
{
touch-action: none;
}
You may leave intact the
#systemnamewrapper
rule and change its color again, e.g. to
green
or
yellow
or
black
to be able to verify that your changes got loaded onto your iOS device.
Third potential solution
Delete the css rule from the second solution, and paste this in the style block instead:
Code:
body
{
position: fixed;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
}
And then inside any of the
script
blocks on the page (I'd suggest the last one at the bottom of the page so that error handling stuff will have been initialized already), paste this additional script:
Code:
window.addEventListener("scroll", (e) => {
e.preventDefault();
window.scrollTo(0, 0);
});