Skip to content

Commit

Permalink
HotFix: temp input element visible #1381
Browse files Browse the repository at this point in the history
  • Loading branch information
JiHong88 committed Apr 23, 2024
1 parent 891ac6a commit c424681
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/constructor.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,7 @@ export default {
/// focus temp
const focusTemp = doc.createElement('INPUT');
focusTemp.tabIndex = -1;
focusTemp.style.width = '0 !important';
focusTemp.style.height = '0 !important';
focusTemp.style.cssText = 'position: absolute !important; top: -10000px !important; display: block !important; width: 0 !important; height: 0 !important; margin: 0 !important; padding: 0 !important;';

// toolbar container
const toolbarContainer = options.toolbarContainer;
Expand Down

0 comments on commit c424681

Please sign in to comment.