Skip to content

Commit

Permalink
refactor: optimize drawer usage, fix known issues (#530)
Browse files Browse the repository at this point in the history
Co-authored-by: tianwenjie <igauch@qq.com>
Co-authored-by: JounQin <admin@1stg.me>
  • Loading branch information
3 people authored Dec 7, 2023
1 parent 369ee93 commit 9092f15
Show file tree
Hide file tree
Showing 20 changed files with 533 additions and 457 deletions.
8 changes: 8 additions & 0 deletions .changeset/rude-pants-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@alauda/ui': minor
---

- fix: `close` event will be triggered twice - close #247
- fix: no transition when use drawer service - close #529
- refactor: only instantiate when opened
- [BREAKING CHANGE] refactor: return type of `DrawerService#open` is changed from `DrawerComponent` to `DrawerRef`
30 changes: 0 additions & 30 deletions src/drawer/component/drawer-ref.ts

This file was deleted.

78 changes: 0 additions & 78 deletions src/drawer/component/drawer.component.html

This file was deleted.

Loading

0 comments on commit 9092f15

Please sign in to comment.