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