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

[Bug Report] Pagination with "sizes" in layout causes error #10094

Closed
ryantbrown opened this issue Mar 10, 2018 · 4 comments
Closed

[Bug Report] Pagination with "sizes" in layout causes error #10094

ryantbrown opened this issue Mar 10, 2018 · 4 comments

Comments

@ryantbrown
Copy link

Element UI version

2.2.1

OS/Browsers version

OSX 10.13.2 / Chrome 64.0.3282.186

Vue version

2.5.14

Reproduction Link

https://jsfiddle.net/re4soysx/5/

Steps to reproduce

Add <el-pagination> element with sizes in the layout prop.

What is Expected?

The size select should show up and be selectable.

What is actually happening?

The size select does not show up and the console has the following errors:

[Vue warn]: Error in nextTick: "TypeError: _this12.$refs.reference.$el.getBoundingClientRect is not a function"
[Vue warn]: Error in render: "RangeError: Maximum call stack size exceeded"
All found in: <ElSelect><Sizes><ElPagination>
@ryantbrown
Copy link
Author

ryantbrown commented Mar 10, 2018

I actually found this error while using 2.0.2 but then upgraded to 2.2.1 to see if a fix was pushed, but found the same error.

Here is another fiddle with both @current-change and @size-change set: https://jsfiddle.net/re4soysx/8/. I still get the same error.

@ryantbrown
Copy link
Author

So downgrading to Vue 2.5.13 fixes this. Vue 2.5.14 was released a few hours ago.

@Leopoldthecoder
Copy link
Contributor

Hi, thanks for reporting this issue. Since #10093 has more participants, I'll update the progress there.

@DylanChen08
Copy link

So downgrading to Vue 2.5.13 fixes this. Vue 2.5.14 was released a few hours ago.

Thanks so much

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants