fix(Tabs): should scroll active tab into view after resized (#11777)
This commit is contained in:
@@ -424,7 +424,11 @@ export default defineComponent({
|
|||||||
|
|
||||||
const resize = () => {
|
const resize = () => {
|
||||||
setLine();
|
setLine();
|
||||||
nextTick(() => contentRef.value?.swipeRef.value?.resize());
|
|
||||||
|
nextTick(() => {
|
||||||
|
scrollIntoView(true);
|
||||||
|
contentRef.value?.swipeRef.value?.resize();
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
|
|||||||
Reference in New Issue
Block a user