1
1
diff --git a/node_modules/@ionic/core/components/popover.js b/node_modules/@ionic/core/components/popover.js
2
- index 394d7e6..1f36f24 100644
2
+ index df0b0f6..ffd1bac 100644
3
3
--- a/node_modules/@ionic/core/components/popover.js
4
4
+++ b/node_modules/@ionic/core/components/popover.js
5
5
@@ -763,8 +763,10 @@ const iosEnterAnimation = (baseEl, opts) => {
@@ -29,7 +29,7 @@ index 394d7e6..1f36f24 100644
29
29
const contentEl = root.querySelector('.popover-content');
30
30
const referenceSizeEl = trigger || ((_a = ev === null || ev === void 0 ? void 0 : ev.detail) === null || _a === void 0 ? void 0 : _a.ionShadowTarget) || (ev === null || ev === void 0 ? void 0 : ev.target);
31
31
diff --git a/node_modules/@ionic/core/dist/cjs/ion-popover.cjs.entry.js b/node_modules/@ionic/core/dist/cjs/ion-popover.cjs.entry.js
32
- index 004effa..84389bf 100644
32
+ index c644264..175df2e 100644
33
33
--- a/node_modules/@ionic/core/dist/cjs/ion-popover.cjs.entry.js
34
34
+++ b/node_modules/@ionic/core/dist/cjs/ion-popover.cjs.entry.js
35
35
@@ -769,8 +769,10 @@ const iosEnterAnimation = (baseEl, opts) => {
@@ -92,8 +92,55 @@ index 603923a..ff10a25 100644
92
92
const root = getElementRoot(baseEl);
93
93
const contentEl = root.querySelector('.popover-content');
94
94
const referenceSizeEl = trigger || ((_a = ev === null || ev === void 0 ? void 0 : ev.detail) === null || _a === void 0 ? void 0 : _a.ionShadowTarget) || (ev === null || ev === void 0 ? void 0 : ev.target);
95
+ diff --git a/node_modules/@ionic/core/dist/esm/input-shims-3070628a.js b/node_modules/@ionic/core/dist/esm/input-shims-3070628a.js
96
+ index cc59b33..2c24dc3 100644
97
+ --- a/node_modules/@ionic/core/dist/esm/input-shims-3070628a.js
98
+ +++ b/node_modules/@ionic/core/dist/esm/input-shims-3070628a.js
99
+ @@ -340,7 +340,8 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
100
+ const focusOut = () => {
101
+ hasKeyboardBeenPresentedForTextField = false;
102
+ win === null || win === void 0 ? void 0 : win.removeEventListener('ionKeyboardDidShow', keyboardShow);
103
+ - componentEl.removeEventListener('focusout', focusOut);
104
+ + // Patched: Attach focusin/focusout events to inputEl instead of componentEl to allow focusing buttons inside <ion-input>.
105
+ + inputEl.removeEventListener('focusout', focusOut);
106
+ };
107
+ /**
108
+ * When the input is about to receive
109
+ @@ -360,13 +361,15 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
110
+ }
111
+ jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight, addScrollPadding, disableClonedInput, platformHeight);
112
+ win === null || win === void 0 ? void 0 : win.addEventListener('ionKeyboardDidShow', keyboardShow);
113
+ - componentEl.addEventListener('focusout', focusOut);
114
+ + // Patched: Attach focusin/focusout events to inputEl instead of componentEl to allow focusing buttons inside <ion-input>.
115
+ + inputEl.addEventListener('focusout', focusOut);
116
+ };
117
+ - componentEl.addEventListener('focusin', focusIn);
118
+ + // Patched: Attach focusin/focusout events to inputEl instead of componentEl to allow focusing buttons inside <ion-input>.
119
+ + inputEl.addEventListener('focusin', focusIn);
120
+ return () => {
121
+ - componentEl.removeEventListener('focusin', focusIn);
122
+ + inputEl.removeEventListener('focusin', focusIn);
123
+ win === null || win === void 0 ? void 0 : win.removeEventListener('ionKeyboardDidShow', keyboardShow);
124
+ - componentEl.removeEventListener('focusout', focusOut);
125
+ + inputEl.removeEventListener('focusout', focusOut);
126
+ };
127
+ };
128
+ /**
129
+ diff --git a/node_modules/@ionic/core/dist/esm/ion-item_8.entry.js b/node_modules/@ionic/core/dist/esm/ion-item_8.entry.js
130
+ index 4b8d277..fc26329 100644
131
+ --- a/node_modules/@ionic/core/dist/esm/ion-item_8.entry.js
132
+ +++ b/node_modules/@ionic/core/dist/esm/ion-item_8.entry.js
133
+ @@ -109,7 +109,7 @@ const Item = class {
134
+ // inputs, then those need to individually get each click
135
+ hasCover() {
136
+ const inputs = this.el.querySelectorAll('ion-checkbox, ion-datetime, ion-select, ion-radio');
137
+ - return inputs.length === 1 && !this.multipleInputs;
138
+ + return inputs.length === 1;
139
+ }
140
+ // If the item has an href or button property it will render a native
141
+ // anchor or button that is clickable
95
142
diff --git a/node_modules/@ionic/core/dist/esm/ion-popover.entry.js b/node_modules/@ionic/core/dist/esm/ion-popover.entry.js
96
- index 9b06217..70b4015 100644
143
+ index d32e60c..491c281 100644
97
144
--- a/node_modules/@ionic/core/dist/esm/ion-popover.entry.js
98
145
+++ b/node_modules/@ionic/core/dist/esm/ion-popover.entry.js
99
146
@@ -765,8 +765,10 @@ const iosEnterAnimation = (baseEl, opts) => {
@@ -123,10 +170,10 @@ index 9b06217..70b4015 100644
123
170
const contentEl = root.querySelector('.popover-content');
124
171
const referenceSizeEl = trigger || ((_a = ev === null || ev === void 0 ? void 0 : ev.detail) === null || _a === void 0 ? void 0 : _a.ionShadowTarget) || (ev === null || ev === void 0 ? void 0 : ev.target);
125
172
diff --git a/node_modules/@ionic/core/hydrate/index.js b/node_modules/@ionic/core/hydrate/index.js
126
- index c3d2d8e..bc40d4f 100644
173
+ index 6de5db2..e9c8ecc 100644
127
174
--- a/node_modules/@ionic/core/hydrate/index.js
128
175
+++ b/node_modules/@ionic/core/hydrate/index.js
129
- @@ -23882 ,8 +23882 ,10 @@ const iosEnterAnimation$1 = (baseEl, opts) => {
176
+ @@ -24183 ,8 +24183 ,10 @@ const iosEnterAnimation$1 = (baseEl, opts) => {
130
177
const { event: ev, size, trigger, reference, side, align } = opts;
131
178
const doc = baseEl.ownerDocument;
132
179
const isRTL = doc.dir === 'rtl';
@@ -139,7 +186,7 @@ index c3d2d8e..bc40d4f 100644
139
186
const root = getElementRoot(baseEl);
140
187
const contentEl = root.querySelector('.popover-content');
141
188
const arrowEl = root.querySelector('.popover-arrow');
142
- @@ -24003 ,8 +24005 ,10 @@ const mdEnterAnimation$1 = (baseEl, opts) => {
189
+ @@ -24304 ,8 +24306 ,10 @@ const mdEnterAnimation$1 = (baseEl, opts) => {
143
190
const { event: ev, size, trigger, reference, side, align } = opts;
144
191
const doc = baseEl.ownerDocument;
145
192
const isRTL = doc.dir === 'rtl';
@@ -152,48 +199,3 @@ index c3d2d8e..bc40d4f 100644
152
199
const root = getElementRoot(baseEl);
153
200
const contentEl = root.querySelector('.popover-content');
154
201
const referenceSizeEl = trigger || ((_a = ev === null || ev === void 0 ? void 0 : ev.detail) === null || _a === void 0 ? void 0 : _a.ionShadowTarget) || (ev === null || ev === void 0 ? void 0 : ev.target);
155
- diff --git a/node_modules/@ionic/core/dist/esm/input-shims-0314bbe5.js b/node_modules/@ionic/core/dist/esm/input-shims-0314bbe5.js
156
- index dd9d410..846146f 100644
157
- --- a/node_modules/@ionic/core/dist/esm/input-shims-0314bbe5.js
158
- +++ b/node_modules/@ionic/core/dist/esm/input-shims-0314bbe5.js
159
- @@ -338,7 +338,8 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
160
- const focusOut = () => {
161
- hasKeyboardBeenPresentedForTextField = false;
162
- win === null || win === void 0 ? void 0 : win.removeEventListener('ionKeyboardDidShow', keyboardShow);
163
- - componentEl.removeEventListener('focusout', focusOut);
164
- + // Patched: Attach focusin/focusout events to inputEl instead of componentEl to allow focusing buttons inside <ion-input>.
165
- + inputEl.removeEventListener('focusout', focusOut);
166
- };
167
- /**
168
- * When the input is about to receive
169
- @@ -358,13 +358,15 @@ const enableScrollAssist = (componentEl, inputEl, contentEl, footerEl, keyboardH
170
- }
171
- jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight, addScrollPadding, disableClonedInput, platformHeight);
172
- win === null || win === void 0 ? void 0 : win.addEventListener('ionKeyboardDidShow', keyboardShow);
173
- - componentEl.addEventListener('focusout', focusOut);
174
- + // Patched: Attach focusin/focusout events to inputEl instead of componentEl to allow focusing buttons inside <ion-input>.
175
- + inputEl.addEventListener('focusout', focusOut);
176
- };
177
- - componentEl.addEventListener('focusin', focusIn);
178
- + // Patched: Attach focusin/focusout events to inputEl instead of componentEl to allow focusing buttons inside <ion-input>.
179
- + inputEl.addEventListener('focusin', focusIn);
180
- return () => {
181
- - componentEl.removeEventListener('focusin', focusIn);
182
- + inputEl.removeEventListener('focusin', focusIn);
183
- win === null || win === void 0 ? void 0 : win.removeEventListener('ionKeyboardDidShow', keyboardShow);
184
- - componentEl.removeEventListener('focusout', focusOut);
185
- + inputEl.removeEventListener('focusout', focusOut);
186
- };
187
- };
188
- /**
189
- --- a/node_modules/@ionic/core/dist/esm/ion-item_8.entry.js
190
- +++ b/node_modules/@ionic/core/dist/esm/ion-item_8.entry.js
191
- @@ -109,7 +109,7 @@ const Item = class {
192
- // inputs, then those need to individually get each click
193
- hasCover() {
194
- const inputs = this.el.querySelectorAll('ion-checkbox, ion-datetime, ion-select, ion-radio');
195
- - return inputs.length === 1 && !this.multipleInputs;
196
- + return inputs.length === 1;
197
- }
198
- // If the item has an href or button property it will render a native
199
- // anchor or button that is clickable
0 commit comments