We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
推荐根据内容动态给element设宽度,也能解决上一个issue,这个功能可以做一个开关,不想用的可以关掉
The text was updated successfully, but these errors were encountered:
简单描述下场景
<div class="ui-select"> <ul> <li class="ui-select-item"></li> <li class="ui-select-item"></li> </ul> </div>
ui-select 为 position:absolute,当 ui-select-item 设置高度时会触发 hasLayout,宽度变为 100%。
例子:http://aralejs.org/select/examples/item-haslayout.html
Sorry, something went wrong.
add example for #13
30b39da
解决方法是不设 height,用 padding 替代。
给一个样式
No branches or pull requests
推荐根据内容动态给element设宽度,也能解决上一个issue,这个功能可以做一个开关,不想用的可以关掉
The text was updated successfully, but these errors were encountered: