Skip to content

Commit

Permalink
Taking hidden columns into account when calculating Editor position (#…
Browse files Browse the repository at this point in the history
…1438)

Co-authored-by: Antonio Davi Macedo Coelho de Castro <adavimacedo@gmail.com>
  • Loading branch information
404-html and davimacedo authored Feb 25, 2020
1 parent 915ed5f commit c35873c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/dashboard/Data/Browser/BrowserTable.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ export default class BrowserTable extends React.Component {
}
let wrapLeft = 30;
for (let i = 0; i < this.props.current.col; i++) {
wrapLeft += this.props.order[i].width;
const column = this.props.order[i];
wrapLeft += column.visible ? column.width : 0;
}
if (!this.props.isUnique) {
editor = (
Expand Down

0 comments on commit c35873c

Please sign in to comment.