be-fe / be-fe/iSlider

iSlids插件,antd项目,new iSlids 导致生成多个UI节点,外部使用判断控制了访问限制,所以节点生成这里应该是插件内部导致的,有没有什么解决办法

Open
#438 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.6k
Forks
441
PR merge metrics
No merged PRs in 30d

Description

现在使用了:
ul:not(:last-child){
display: none;
}
隐藏了前一部分的节点,有没有更好的办法,只生成一个父节点呢?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported new iSlids call in the antd project and inspect how many UI and parent nodes it creates. Compare the generated structure with the existing ul:not(:last-child) workaround. Done means the plugin creates only one parent node without requiring CSS to hide earlier nodes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.