We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58beea3 commit 05859dbCopy full SHA for 05859db
src/components/searchbar/searchbar.ts
@@ -289,7 +289,7 @@ export class Searchbar extends Ion {
289
290
// Get the width of the span then remove it
291
var textWidth = tempSpan.offsetWidth;
292
- tempSpan.remove();
+ doc.body.removeChild(tempSpan);
293
294
// Set the input padding left
295
var inputLeft = 'calc(50% - ' + (textWidth / 2) + 'px)';
0 commit comments