Prettier
This commit is contained in:
@@ -250,8 +250,10 @@ export default function createGridComponent({
|
||||
// The scrollbar size should be considered when scrolling an item into view,
|
||||
// to ensure it's fully visible.
|
||||
// But we only need to account for its size when it's actually visible.
|
||||
const horizontalScrollbarSize = estimatedTotalWidth > width ? scrollbarSize : 0;
|
||||
const verticalScrollbarSize = estimatedTotalHeight > height ? scrollbarSize : 0;
|
||||
const horizontalScrollbarSize =
|
||||
estimatedTotalWidth > width ? scrollbarSize : 0;
|
||||
const verticalScrollbarSize =
|
||||
estimatedTotalHeight > height ? scrollbarSize : 0;
|
||||
|
||||
this.scrollTo({
|
||||
scrollLeft: getOffsetForColumnAndAlignment(
|
||||
|
||||
@@ -39,7 +39,7 @@ export default function() {
|
||||
itemData="صف"
|
||||
itemSize={35}
|
||||
width={300}
|
||||
style={{ direction: "rtl" }}
|
||||
style={{ direction: 'rtl' }}
|
||||
>
|
||||
{Item}
|
||||
</FixedSizeList>
|
||||
@@ -61,7 +61,7 @@ export default function() {
|
||||
itemData="عمود"
|
||||
itemSize={100}
|
||||
width={300}
|
||||
style={{ direction: "rtl" }}
|
||||
style={{ direction: 'rtl' }}
|
||||
>
|
||||
{Item}
|
||||
</FixedSizeList>
|
||||
|
||||
Reference in New Issue
Block a user