fix #1775 Horizontal scrollbar is not resizing when typing
This commit is contained in:
parent
eafe6a7997
commit
f3af20aa15
1 changed files with 2 additions and 0 deletions
|
|
@ -962,6 +962,8 @@ var VirtualRenderer = function(container, theme) {
|
||||||
offset = this.scrollTop - firstRowScreen * lineHeight;
|
offset = this.scrollTop - firstRowScreen * lineHeight;
|
||||||
|
|
||||||
var changes = 0;
|
var changes = 0;
|
||||||
|
if (this.layerConfig.width != longestLine)
|
||||||
|
changes = this.CHANGE_H_SCROLL;
|
||||||
// Horizontal scrollbar visibility may have changed, which changes
|
// Horizontal scrollbar visibility may have changed, which changes
|
||||||
// the client height of the scroller
|
// the client height of the scroller
|
||||||
if (hScrollChanged || vScrollChanged) {
|
if (hScrollChanged || vScrollChanged) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue