mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
fix(reorder): enabled by default works
This commit is contained in:
@ -68,6 +68,9 @@ export class ReorderGroup {
|
||||
componentDidLoad() {
|
||||
this.containerEl = this.el.querySelector('ion-gesture') as HTMLElement;
|
||||
this.scrollEl = this.el.closest('ion-scroll') as HTMLElement;
|
||||
if (this.enabled) {
|
||||
this.enabledChanged(true);
|
||||
}
|
||||
}
|
||||
|
||||
componentDidUnload() {
|
||||
|
@ -9,8 +9,7 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<ion-reorder-group id="reorder">
|
||||
|
||||
<ion-reorder-group enabled>
|
||||
<div>
|
||||
Item 1 (default ion-reorder)
|
||||
<ion-reorder></ion-reorder>
|
||||
|
Reference in New Issue
Block a user