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