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

Display polling buttons on fullscreen presentation #11319

Merged

Conversation

ramonlsouza
Copy link
Member

@ramonlsouza ramonlsouza commented Feb 5, 2021

What does this PR do?

Improves presentation fullscreen experience by correctly displaying polling buttons (adding a PollingContainer to the fullscreenButton component, and setting it to render only on fullscreen).

Modern browsers set the z-index of fullscreened elements to 2147483647 (the largest 32-bit signed number), so the best solution to display another element in fullscreen is to put them on a container, and set the container to fullscreen.

Closes Issue(s)

closes #10783

@antobinary antobinary added this to the Release 2.3 milestone Feb 5, 2021
Copy link
Collaborator

@KDSBrowne KDSBrowne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR in it's current state also causes a duplication in the DOM. Should probably remove the element that's not needed (when its not needed).

image

/>
</div>
<>
{isFullscreen && <PollingContainer />}
Copy link
Collaborator

@KDSBrowne KDSBrowne Feb 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this is the best place to render the PollingContainer. It might make more sense to render this in the parent element that is being set to full-screen instead of the FullscreenButtonComponent

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved pollingContainer to PresentationArea, and removed the duplicated component when in fullscreen

@KDSBrowne
Copy link
Collaborator

The polling options don't seem to appear if the app is set to full-screen via the settings option

image

@ramonlsouza
Copy link
Member Author

The polling options don't seem to appear if the app is set to full-screen via the settings option

image

fixed on last commit (pollingContainer will now hide/show if presentation is fullscreen instead of any element is fullscreen).

@antobinary antobinary merged commit 74d34e1 into bigbluebutton:develop Feb 9, 2021
@hiroshisuga
Copy link
Contributor

I would like the random viewer selection modal to be fixed as well.

@hiroshisuga
Copy link
Contributor

I would like to show the poll window also on the full-screen shared screen.

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.

Polls are not visible in full screen mode
4 participants