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

is_visible on wasm platform #3096

Closed
cybersoulK opened this issue Sep 14, 2023 · 1 comment
Closed

is_visible on wasm platform #3096

cybersoulK opened this issue Sep 14, 2023 · 1 comment
Labels

Comments

@cybersoulK
Copy link

pub fn is_visible(&self) -> Option<bool> {

ins't it better to use
Some(doc.visibility_state() == web_sys::VisibilityState::Visible)

rather than return None?

@daxpedda
Copy link
Member

See #2939.

@daxpedda daxpedda closed this as not planned Won't fix, can't repro, duplicate, stale Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants