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

[Drawer]Drawer希望支持快捷调用 #3330

Closed
cccRaim opened this issue Sep 9, 2021 · 6 comments
Closed

[Drawer]Drawer希望支持快捷调用 #3330

cccRaim opened this issue Sep 9, 2021 · 6 comments
Assignees
Labels
2.x will be fixed in Design 2.0 💡 Feature Request New feature or request

Comments

@cccRaim
Copy link

cccRaim commented Sep 9, 2021

Component

Drawer

Feature Description

Dialog是支持快捷调用show或者alert的,那么Drawer支持快捷调用应该也ok的

@youluna
Copy link
Member

youluna commented Sep 9, 2021

什么场景下需要快捷调用呢

@youluna youluna added the 💡 Feature Request New feature or request label Sep 9, 2021
@cccRaim
Copy link
Author

cccRaim commented Sep 9, 2021

什么场景下需要快捷调用呢

需要抽离逻辑的时候,一般Dialog的快捷调用也是这样,直接抽离逻辑到特定的util里

@bindoon
Copy link
Member

bindoon commented Sep 16, 2021

快捷调用是小弹窗,Drawer这种全屏的一般都是按钮触发,为什么会有快捷调用诉求?

@bindoon bindoon self-assigned this Sep 16, 2021
@cccRaim
Copy link
Author

cccRaim commented Sep 16, 2021

快捷调用是小弹窗,Drawer这种全屏的一般都是按钮触发,为什么会有快捷调用诉求?

抽离逻辑呀,不希望引入控制展示与否的额外变量,并且抽离控制逻辑到工具包里

@guoyunhe
Copy link
Contributor

同求。这个和大小无关,主要是操作可能是短暂的。Dialog 不一定比 Drawer 小。

@bindoon bindoon added the 2.x will be fixed in Design 2.0 label Jan 10, 2022
@bindoon
Copy link
Member

bindoon commented May 6, 2022

will be released in 1.26

@bindoon bindoon closed this as completed May 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x will be fixed in Design 2.0 💡 Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants