Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue 3.1.1 breaks layout #4173

Closed
1 task done
ais-one opened this issue Jun 8, 2021 · 11 comments
Closed
1 task done

Vue 3.1.1 breaks layout #4173

ais-one opened this issue Jun 8, 2021 · 11 comments
Labels

Comments

@ais-one
Copy link

ais-one commented Jun 8, 2021

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.1.4

Environment

Windows 10 Home, Chrome 91, Vue 3.1.1 (refer to package.json of minimal reproduction for details)

Reproduction link

https://github.com/ais-one/vite-antd-bug

Steps to reproduce

  1. clone example repo
  2. npm i
  3. npm run dev

you can see the problem with layout.

What is expected?

layout with custom trigger looks same as documentation - https://2x.antdv.com/components/layout#components-layout-demo-custom-trigger

The minimal reproduction uses the sample code in the documentation and is found in App.vue file

What is actually happening?

menu is on top and the content is pushed to the bottom


bug seen when upgrading to Vue 3.1.1

@dustdu
Copy link

dustdu commented Jun 8, 2021

早上一看更新了,升级了下,直接炸了。。。

@sendya
Copy link
Member

sendya commented Jun 8, 2021

请记住,不要跨版本升级! 特别是 vue 官方还写了 Breaking Changes

@dustdu
Copy link

dustdu commented Jun 8, 2021

请记住,不要跨版本升级! 特别是 vue 官方还写了 Breaking Changes

看到了,被Menu警告搞烦了,抱着侥幸心理试了一下,还是不行。现在有空就看新版本发布没。。。

@JasonSubMara
Copy link

盆友,受伤害的不止你一个人~ @dustdu

@tangjinzhou
Copy link
Member

update to 2.2.0-beta.2

@atom-git
Copy link
Contributor

atom-git commented Jun 9, 2021

这个虽然解决了warn问题,但是菜单下拉延迟明显

update to 2.2.0-beta.2

@atom-git
Copy link
Contributor

atom-git commented Jun 9, 2021

VUE升级到3.1.1解决了这个问题,但是页面感觉好卡

@tangjinzhou
Copy link
Member

?本地感觉流畅很多啊

@tangjinzhou
Copy link
Member

VUE升级到3.1.1解决了这个问题,但是页面感觉好卡

新开issue反馈吧

@yushaoyi
Copy link

1

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

7 participants