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

优化textarea的滚动条 #1172

Closed
ghost opened this issue Sep 14, 2021 · 3 comments
Closed

优化textarea的滚动条 #1172

ghost opened this issue Sep 14, 2021 · 3 comments
Labels
feature request New feature or request

Comments

@ghost
Copy link

ghost commented Sep 14, 2021

This function solves the problem (这个功能解决的问题)

textarea在内容过长时会显示原生的滚动条,希望可以改成与n-layout内置滚动条相同的样式

Expected API (期望的 API)

@github-actions github-actions bot added the feature request New feature or request label Sep 14, 2021
@07akioni
Copy link
Collaborator

07akioni commented Sep 14, 2021

理论上有可能,优先级并不高

@07akioni 07akioni reopened this Sep 14, 2021
@fcloud89
Copy link

fcloud89 commented Sep 25, 2021

理论上有可能,优先级并不高

我也有这需求,在看这个问题,n-scrollbar要包裹在textarea内的#shadow-root的内容上,才行啊,好像不太好弄
@07akioni

@07akioni
Copy link
Collaborator

,n-scrollbar要包裹在textarea内的#shadow-root的内容上,才

肯定是不好弄,实现原理要有区别,之前不弄不是没有原因的,监听不了内容的 resize,只能坚挺内容变化

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

No branches or pull requests

2 participants