mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-02 10:04:06 +03:00
fix test
This commit is contained in:
+1
-5
@@ -130,12 +130,8 @@ const assertCorrectDOMStructure = (targetType: TargetType, viewportIsTarget: boo
|
||||
|
||||
const createStructureSetupElementsProxy = (
|
||||
target: InitializationTarget,
|
||||
options: { tabindex?: boolean; autoAppend?: boolean } = {
|
||||
tabindex: false,
|
||||
autoAppend: true,
|
||||
}
|
||||
{ tabindex = false, autoAppend = true } = {}
|
||||
): StructureSetupElementsProxy => {
|
||||
const { tabindex, autoAppend } = options;
|
||||
const [elements, appendElements, destroy] = createStructureSetupElements(target);
|
||||
// simulate tabindex inheritance from host via mutation observer
|
||||
if (tabindex) {
|
||||
|
||||
Reference in New Issue
Block a user