Comments (7)
@dstekol @AMBudnik I had the same issue with multiple tables on one page in IE11 and fixed it by adapting hideEditableElement
and showEditableElement
:
Handsontable.editors.TextEditor.prototype.hideEditableElement = function() {
this.textareaParentStyle.visibility = 'hidden';
this.textareaParentStyle.position = 'fixed';
this.textareaParentStyle.top = '0px';
this.textareaParentStyle.left = '0px';
//this.textareaParentStyle.top = '-9999px'; // default
//this.textareaParentStyle.left = '-9999px'; // default
this.textareaParentStyle.zIndex = '-1'; // default
};
Handsontable.editors.TextEditor.prototype.showEditableElement = function() {
this.textareaParentStyle.position = 'absolute';
this.textareaParentStyle.visibility = 'visible';
this.textareaParentStyle.zIndex = this.holderZIndex >= 0 ? this.holderZIndex : ''; // default
};
from handsontable.
Thank you for your suggestion @grund3g
from handsontable.
I think I found what the issue is. IE 9 scrolls to where the textarea is whenever focus or select is called on the text area. Is there a way to work around this issue ?
from handsontable.
Hi nobisheikh, thanks for your interest! This should be fixed now. Indeed the cause was that IE scrolled to the invisible textarea, so I made sure that that textarea is always in the corner of the viewport.
from handsontable.
I have found that there is still a jumping issue with the textarea when there are multiple tables on the page. My fix is to recode the textarea to be invisible but on screen (visibility:hidden; position:fixed; top: 0px; left: 0px;) when it is not needed (inside the hideEditableElement function), and then change to "position:absolute; visibility:visible;" when it is needed (in the showEditableElement function). This stops the browser from jumping to it because it is technically always floating on the top left corner of the screen, you just can't see it, and this seems a cleaner solution than making the position -9999px, which is what it is being set to in the existing code.
from handsontable.
Hi @dstekol
this topic is really old. Can I ask you to create a new issue with a demo or/and a video where this can be seen?
from handsontable.
Launch the local version of documentation by running:
npm run docs:review 67f796e288da075f113e2f99487c3aa70a2ef8f9
from handsontable.
Related Issues (20)
- [Bug]: rowHeaders insert row above bug HOT 3
- [Bug]: React / Nested Rows / Nested row collapse status resets when props are passed from parent to child HOT 1
- [Bug]: When a specific row height is set and "wordWrap" is enabled, the row height can still change dynamically based on the content. HOT 2
- [Bug]: Missing cell borders HOT 1
- [Bug]: Installed 14.2 but having performance and display issue not seen with 13.0, also had to convert to ES5 HOT 16
- [Bug]: vue2 insert column disable? HOT 5
- How can i get the older version document, such as v6,v7? HOT 4
- [Bug]: Multiple sorting resets on the fifth click HOT 2
- [Bug]: custom rendorer called multiple times and did dom manipulation creating a slow performance and row misalignment HOT 1
- [Bug]: cell editor doesn't switch as intended on tab navigation between cells HOT 1
- [Bug]: Table crashes when entering a number value with a space between negative symbol and numbers HOT 1
- [Bug]: Vue 3 composition API ref error HOT 9
- Handsontable 14.3.0 is here!
- [Bug]: A bug caused by sheetRename HOT 1
- [Bug]: Property 'prototype' does not exist on type 'BaseEditor' HOT 7
- [Bug]: The bug about the ROUND function in the formula, why 21.9/0.2, keeping 0 decimal places, will get 109? In theory, the ROUND function should be rounded to 110. HOT 3
- [Bug]: In vue2, when using HotColumn slot, there is no readonly html style HOT 5
- [Bug]: Object array data source causes spliceRow call error: rowData.slice is not a function HOT 2
- [Bug]: How can the handsonTable component freeze columns on both sides HOT 3
- [Bug]: Context Menu: long texts are truncated HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from handsontable.