mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-29 03:00:45 -04:00
Merge main and rebuild compiled JS
This commit is contained in:
@@ -859,9 +859,6 @@
|
||||
return x2;
|
||||
}
|
||||
function isVisible(el) {
|
||||
if (typeof el.checkVisibility === "function") {
|
||||
return el.checkVisibility();
|
||||
}
|
||||
if (el.offsetWidth !== 0 || el.offsetHeight !== 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
2
inst/www/shared/shiny.min.js
vendored
2
inst/www/shared/shiny.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -60,10 +60,6 @@ function getStyle(el: Element, styleProp: string): string | undefined {
|
||||
}
|
||||
|
||||
function isVisible(el: HTMLElement): boolean {
|
||||
if (typeof el.checkVisibility === "function") {
|
||||
return el.checkVisibility();
|
||||
}
|
||||
// Fallback for browsers that don't support checkVisibility (Safari < 17.4)
|
||||
if (el.offsetWidth !== 0 || el.offsetHeight !== 0) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user