chore: update
parent
42fad57e49
commit
56a4d33ebf
|
@ -65,7 +65,7 @@ exports[`renders ./components/drawer/demo/render-in-current.vue correctly 1`] =
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`renders ./components/drawer/demo/size.vue correctly 1`] = `
|
exports[`renders ./components/drawer/demo/size.vue correctly 1`] = `
|
||||||
<button class="ant-btn ant-btn-primary" type="button">
|
<button style="margin-right: 8px;" class="ant-btn ant-btn-primary" type="button">
|
||||||
<!----><span>Open Default Size (378px)</span>
|
<!----><span>Open Default Size (378px)</span>
|
||||||
</button><button class="ant-btn ant-btn-primary" type="button">
|
</button><button class="ant-btn ant-btn-primary" type="button">
|
||||||
<!----><span>Open Large Size (736px)</span>
|
<!----><span>Open Large Size (736px)</span>
|
||||||
|
|
|
@ -27,8 +27,8 @@ export interface scrollLockOptions {
|
||||||
}
|
}
|
||||||
|
|
||||||
const createScrollLocker = (options: scrollLockOptions) => {
|
const createScrollLocker = (options: scrollLockOptions) => {
|
||||||
let scrollBarSize = 0;
|
const scrollBarSize = 0;
|
||||||
let cacheStyleMap = new Map();
|
const cacheStyleMap = new Map();
|
||||||
return {
|
return {
|
||||||
getContainer: () => {
|
getContainer: () => {
|
||||||
return options?.container;
|
return options?.container;
|
||||||
|
|
Loading…
Reference in New Issue