Skip to content
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

Fix Up upNextDialog blocked by transparent video controls #5595

Closed
wants to merge 1 commit into from

Conversation

anthonym01
Copy link

On high display scaling, the controls sit over the up next dialog, i know its a sloppy change but i hope you wont mind :)

Changes
src\components\upnextdialog\upnextdialog.scss

Issues
Fix Up upNextDialog blocked by transparent video controls

On high display scaling, the controls sit over the up next dialog, i know its a sloppy change but i hope you wont mind :)
@anthonym01 anthonym01 requested a review from a team as a code owner May 24, 2024 00:37
Copy link

sonarcloud bot commented May 24, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@dmitrylyzo
Copy link
Contributor

UpNextDialog should only be displayed when the bottom OSD is hidden.
Could you post a screenshot of which element is overlapping?

@vivekkairi
Copy link

UpNextDialog should only be displayed when the bottom OSD is hidden. Could you post a screenshot of which element is overlapping?

The OSD is displayed above the UpNext component.
image

@dmitrylyzo
Copy link
Contributor

The OSD is displayed above the UpNext component.

Then the bug is displaying OSD at the same time as UpNextDialog.

Hm, why does videoOsdBottom-hidden have opacity 0.8?

@vivekkairi
Copy link

The OSD is displayed above the UpNext component.

Then the bug is displaying OSD at the same time as UpNextDialog.

Hm, why does videoOsdBottom-hidden have opacity 0.8?

I added that 0.8 for displaying the overlap. The actual code shows opacity of 0 and has lower z-index to hide the OSD.

@dmitrylyzo
Copy link
Contributor

The actual code shows opacity of 0 and has lower z-index to hide the OSD.

The hide class (display: none) is actually used to hide the OSD. With this class, the element becomes completely transparent to the user's actions.
It should be added after the hiding animation is complete:

elem.classList.add('hide');

There was a bug where the wrong element was hidden due to duplicate views. But this was fixed in 10.8: #4561

Could you check if the hide class is actually not added to the OSD?

@dmitrylyzo
Copy link
Contributor

I was able to reproduce the "missing hide class" in webOS 5 emulator with Ultrachromic skin. Disabling it fixes the problem.

@thornbill
Copy link
Member

Underlying issue is fixed in #5653

@thornbill thornbill closed this Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants