question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Weird resizing issue on moving from live view to events gallery - v3.0.0-rc.1

See original GitHub issue

Checklist:

  • ✅ I updated to the latest version available
  • ✅ I cleared the cache of my browser

Release with the issue: v2.0.1 v3.0.0-rc.1

Last working release (if known): v2.0.0

Browser and Operating System: Chrome on Android 12

Description of problem:

I’m using Chrome on Android 12, I’ve ‘installed’ the URL to appear as an app on my home screen as I prefer this to the official HA app (I can pull to refresh if any loading issues occur and most importantly, pinch to zoom to see camera’s better)

On v3.0.0-rc.1 I’m noticing some weird sizing issues on the right side of the screen when I switch between the live feed and the events gallery, video below to show what’s happening:

https://user-images.githubusercontent.com/57415184/152811469-e202475e-ae58-43b8-ba9f-3ed65be5c9a6.mov

Javascript errors shown in the web inspector (if applicable):


Additional information: This issue doesn’t exist in v2.0.0 but does in v2.0.1 and v3.0.0-rc.1 The issue doesn’t occur on official Android HA companion app.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
dermotduffycommented, Feb 11, 2022

Made some progress here. This is incredibly obscure – I am 95% sure it’s the ripple animation on the button press for the gallery (not actually related to the gallery itself). If you move the menu to the left side, it probably won’t happen. The almost-invisible ripple animation is causing the content to ‘expand’ off to the right of the card, and because of the viewport settings in zoom-enable this causes the whole viewport to shift. It happens on the gallery because the gallery is the only button that has a hold action, which triggers this animation.

Ripping the animation out is probably the simplest fix.

1reaction
dermotduffycommented, Feb 9, 2022

FYI: When I add zoom-enable, I can reproduce this! Will have to dig into what’s going on there, but reproducing it is ~essential for these weird layout problems…

Read more comments on GitHub >

github_iconTop Results From Across the Web

New Frigate Lovelace card for Home Assistant #1590 - GitHub
The events section in the card has playback, unless you're looking at the ... the image view to trigger a card resize @dermotduffy;...
Read more >
Adding and resizing images - Squarespace Help Center
In this guide, we show different ways to add, resize, and customize your images. Watch a video.
Read more >
Froala Editor v3.x - ComponentSource
Fixed when attribution: false in Froala v3 editor appearance looks odd. ... Fixed Unable to upload images through Browse option and Sample-2 Editor(Resize...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found