Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uview-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李晖
uview-ui
Commits
ec54e0e6
Unverified
Commit
ec54e0e6
authored
Mar 27, 2023
by
iis8
Committed by
GitHub
Mar 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:嵌套popup使用时不显示菜单 (#1263)
parent
845bf259
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
u-dropdown.vue
uview-ui/components/u-dropdown/u-dropdown.vue
+2
-0
No files found.
uview-ui/components/u-dropdown/u-dropdown.vue
View file @
ec54e0e6
...
...
@@ -172,6 +172,8 @@
},
// 打开下拉菜单
open
(
index
)
{
// 嵌套popup使用时可能获取不到正确的高度,重新计算
if
(
this
.
contentHeight
<
1
)
this
.
getContentHeight
()
// 重置高亮索引,否则会造成多个菜单同时高亮
// this.highlightIndex = 9999;
// 展开时,设置下拉内容的样式
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment