pixel-react-excel-sheet 1.0.21 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pixel-react-excel-sheet",
3
3
  "description": "Great for pixel-perfect, design-focused components in React",
4
- "version": "1.0.21",
4
+ "version": "1.0.23",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.esm.js",
7
7
  "types": "lib/index.d.ts",
@@ -113,14 +113,11 @@ const ColumnIndicator: Types.ColumnIndicatorComponent = ({
113
113
  tabIndex={0}
114
114
  >
115
115
  <div
116
- style={{ position: 'fixed' }}
117
116
  onClick={handleClick}
118
117
  onContextMenu={contextClick}
119
118
  tabIndex={0}>
120
-
121
119
  </div>
122
120
  {label !== undefined ? label : columnIndexToLabel(column)}
123
-
124
121
  <div
125
122
  onMouseDown={onMouseDown}
126
123
  onClick={() => activate({ row: -1, column })}
@@ -105,7 +105,7 @@ const RowIndicator: Types.RowIndicatorComponent = ({
105
105
  style={{
106
106
  height: `${rowHeight}px`,
107
107
  minWidth: '60px',
108
- // position: 'relative',
108
+ position: 'relative',
109
109
  }} //Dynamic value, Inline Styling required
110
110
  className={classNames('ff-spreadsheet-header', {
111
111
  'ff-spreadsheet-header--selected': selected,
@@ -48,6 +48,7 @@
48
48
  overflow: scroll;
49
49
  top: 0;
50
50
  left: 0;
51
+ margin: 0;
51
52
  position: relative;
52
53
  &::-webkit-scrollbar {
53
54
  height: 0px;
@@ -99,7 +99,7 @@ export type Props<CellType extends Types.CellBase> = {
99
99
  onEvaluatedDataChange?: (data: Matrix.Matrix<CellType>) => void;
100
100
  setContextMenu: React.Dispatch<React.SetStateAction<Types.ContextMenuState>>;
101
101
  /** Set your dynamic sheet Height*/
102
- sheetHeight: string;
102
+ sheetHeight: string;
103
103
  };
104
104
 
105
105
  /**