-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[svg] selection flickers when autofill is on last column #6671
Labels
bug
Core: Selection
Plugin
Regression
Issues that were created while adding new changes to the source code
Comments
This was referenced Jan 28, 2020
warpech
added a commit
that referenced
this issue
Feb 18, 2020
Bugfix #6646 (Loss of right border of rowHeader while scrolling when fixedRowsTop and fixedRowsBottom are enabled). The solution was to remove various factors that caused varied size of headers. There are no longer classes `innerBorderTop` and `innerBorderLeft`. This change simplified the code, but could have affected various plugins, such NestedHeaders. All plugins should be tested to be sure that there are no regressions. Bugfix #6673. First column is now 1px wider than before (as reported by outerWidth), to accommodate for the fact that it draws border on the left. Bugfix #6671 (selection flickers when autofill is on last stretched column). The cause of the problem was that the corner position did not take into the account the scrollbar width Feature #6651. The border is rendered on the gridline according to the new specification, and the frozen line has a new color #5d6365. Additional changes: 1. in `walkontable.css`, change `line-height` of `.colHeader` to a slightly smaller value that results in the same row-height in Firefox as in Chrome on Windows 2. in `walkontable.css`, removed declaration of default <col> width 50px. Now, the same value comes from Walkontable setting `defaultColumnWidth`. The only way to overwrite it is by providing the new value in the JS settings object. This is more consistent. 3. make AutoColumnSize results deterministic across all tested browsers. In tests, use `toEqual` instead of `arrayContaining` or `toBeAroundValue`. 4. in HeaderTooltips, hardcode the text width threshold for the `onlyTrimmed` to 50px. This change is explained in a comment. Related issue: #6708 5. fix rendering of GhostTable. Before this commit, GhostTable was sometimes rendered without borders on all sides 6. in all places where 1px is added or subtracted to accommodate for the gridline, use a constant GRIDLINE_WIDTH defined in `utils/gridline.js` 7. in frozen line tests, change `elem.innerText` to `elem.textContent`, because the former was sometimes empty in Safari 8. performance: `getCellFn` is now provided as configuration to `BorderRenderer`, instead of as a parameter to `BorderRenderer.render`
This is an issue reported for the SVG borders project, which was rejected and won't be implemented in Handsontable. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Core: Selection
Plugin
Regression
Issues that were created while adding new changes to the source code
Description
When we select the last column the autofill corner in the previous version is shifted so that it does not affect the table viewport and no horizontal scrollbar appears. It produces funny glitches
7.3.0
![7 3 0](https://user-images.githubusercontent.com/571316/73069184-5dab6780-3ead-11ea-805c-c0790f738be6.png)
PR
![PR](https://user-images.githubusercontent.com/571316/73069191-6439df00-3ead-11ea-9e2c-f25993bb05d6.png)
Found by playing with stretching demo https://handsontable.com/docs/7.3.0/demo-stretching.html
It produces funny glitches
![Kapture 2020-01-24 at 13 31 13](https://user-images.githubusercontent.com/571316/73069391-e6c29e80-3ead-11ea-9f6a-43655b8fac37.gif)
Demo
https://jsfiddle.net/aninde/Ltsa21p9/ - 8.0.0-svg
Your environment
Handsontable version: 8.0.0-svg
Browser Name and version: any
Operating System: any
Originally posted by @budnix in #6157 (comment)
The text was updated successfully, but these errors were encountered: