520 questions
0
votes
0
answers
73
views
FlashList React Native rendering mismatch
Im using flashlist from shopify to contain simple card components with a vertical scroll, the cards have an image and a title shown inmediately. I am having an issue where when I get to around 10 ...
2
votes
0
answers
477
views
Prevent Scroll Jumping When Prepending New Items in React Table Virtuoso
I am using React Table Virtuoso for a large list of loads in my React app. The table updates every n seconds by prepending newly found loads to the top. However, this causes an issue where the ...
0
votes
1
answer
275
views
How to virtualize rows inside an expandable panel in React Virtualized?
I am using React Virtualized to render a list with expandable panels. The issue is that when a panel expands, all 500+ rows inside it are loaded at once, making the UI very slow.
The outer list is ...
2
votes
4
answers
414
views
How to Fix First and Last Column in react-virtualized List?
I am working with react-virtualized and have a custom header along with a long list. I was able to fix (freeze) the first and last columns in the header while scrolling horizontally, but I am unable ...
0
votes
1
answer
63
views
How can I add margin (space between each box) to all my rendered items in react virtualized grid?
I use react virtualized to show some items. My problem is now how can I add margin for each box to have space between every box ?
here is a sandbox you see all boxes are bordered and have no space. ...
1
vote
0
answers
221
views
How to implement react window in Shadcnui combobox?
I have very large lists of items that I need to show on the ui inside a Combobox of shadcn ui but due to lists being large, it takes too much time.
So I wanted to virtualize the list and only render ...
2
votes
0
answers
196
views
react-beautiful-dnd Invariant failed: Cannot find droppable entry with id
I'm having an issue using react-beautiful-dnd within a react-virtualized List. My app has sections, each with its own Droppable, and contains Draggable elements. The problem occurs when I try to drag ...
1
vote
1
answer
124
views
HOC(Multigrid) from react-virtualized strange update method
I use Multigrid to create a scrolling table. There is a requirement: to be able to manually change the widths of columns, including the header column (sidewall)
Example:
https://codesandbox.io/p/...
3
votes
2
answers
2k
views
Issue with react-virtualized and Vite: "No matching export for import bpfrpt_proptype_WindowScroller"
I am working on a React project (version 16) that is bootstrapped with Vite. I am encountering an issue with the react-virtualized library, specifically with the WindowScroller component. When I try ...
1
vote
1
answer
3k
views
How to improve scroll performance of react tanstack table with virtualization?
We're having a big problem in our app where the each row rendering in our table adds a high overhead and blocks the JS main thread with long tasks, making the app feel over slow and sluggish. We're ...
0
votes
0
answers
99
views
CSS Scrolling overflow content issue with absolute positioned items
I have absolute positioned navigation items within a resizable container.
The problem is when you scrolled the overflow content horizontally, the child elements (they're absolute positioned because of ...
0
votes
1
answer
96
views
How to render doc to html converted data(html) into webpage
Scenario:
I have one largest (50MB - size) file and converted that into html file using third party tool.
Now I wish to showcase converted HTML file into my webpage
When trying this scenario my React ...
1
vote
1
answer
351
views
Is getMenuProps necessary in React downshift autocomplete library?
I see the readme on getMenuProps, but it doesn't explain what the refs are used for. It seems to have an effect when I move it around. I'm not sure if it is required to go on a list element directly ...
1
vote
1
answer
385
views
Why is my react-virtualized list not displaying scrollbar unless I make sure height is lower than rowCount*rowHeight?
I am using "react-virtualized": "9.22.5", and I am trying to render a list.
When I pass
<List
height={myList.length * 30}
rowHeight={30}
rowCount={myList.length}
width={...
0
votes
0
answers
450
views
React virtualized, Infinite Scroll - start at the bottom of List
I am using react-virtualized to create an infinite scroll. The code for this is shown below (full link to the codesandbox where this code is taken from- https://codesandbox.io/p/sandbox/react-...
1
vote
0
answers
38
views
correct way to handle back event for the updated list in react native
I have been implementing a passbookView, where we fetch the transaction list from the backend.
and user can navigate to a detailView for each transaction where he can cancel the transaction.
now the ...
1
vote
2
answers
519
views
onScroll is not working after React 18 upgrade
The onScroll callback(scrollHandler) is not getting called while scrolling. This issue is happening after we upgraded to react 18 from react 16.
Package details
"react": "^18.2.0",
...
2
votes
0
answers
362
views
How to combine React-Virtualized with Material UI grid or Bootstrap Gird?
I have a simple layout of a grid that I would like to virtualize it.
<Grid
maxWidth='xl'
height='100%'
container
direction='row'
justifyContent='...
0
votes
1
answer
332
views
how to display nested variable height rows with react-virtualized
import * as React from "react";
import { render } from "react-dom";
import {
List,
CellMeasurerCache,
CellMeasurer,
WindowScroller,
AutoSizer
} from "react-...
1
vote
0
answers
150
views
Horizontall scroll in react-virtualized
I am new to next.js , currently I am looking to design an UI which I have mentioned below in an image
UI that I want to build .
I am struck on how to implement this UI using react virtualized , is it ...
3
votes
1
answer
5k
views
How to Virtualize the options for React-Select?
I've been trying to implement virtualization to a React-Select component although without success. Every single virtualization package that I have tried using has had some sort of breaking fault that ...
0
votes
1
answer
2k
views
how we can fetch new data when scrolling both directions(up and down)
I have created an infinite scrolling using react-virtouso. and it is working proper too.
in the given example it fetch data when we scroll-down and when we reach on the end, and it append to existing ...
3
votes
2
answers
2k
views
react-window spacing between items list
I am trying to integrate react-window with react-window-infinite-loader and so far, I have been successful, but facing an issue where I couldn't find a way to style my list item to create more spacing ...
3
votes
0
answers
99
views
Virtualize small list of large lists in React
I am buliding an emoji picker as part of a larger react project and have encountered an issue. I have successfully built the emoji picker, but it is extremely slow
This is because there are thousands ...
4
votes
0
answers
948
views
Is there any way to do Bi-directional Infinite scrolling in React?
I am using react-infite-scroll-component and react-virtuoso for inverse infinite scrolling in real-time chat app.
And the problem is when when chat has more than 100 unread messages, then it's more ...
3
votes
0
answers
2k
views
Title: How to virtualize MUI TreeView with over 1000 TreeItems to keep the DOM light?
I have a MUI TreeView component with over 1000 TreeItems and I'm noticing performance issues due to the large number of DOM elements being rendered. I've heard that virtualizing the TreeView can help ...
1
vote
1
answer
3k
views
How to create responsive grid that fills width using react-virtualized's Grid?
Context
I would like to use react-virtualized Grid to create a responsive grid of cards.
The data of the cards will be one dimensional (non 2D).
The cards will each have a minimum width and they will ...
0
votes
1
answer
2k
views
React virtualized list not rendering components
I'm trying to use react-window and react-virtualized-auto-sizer to virtualize a components list, but the <AutoSizer> component isn't rendering the list.
this is the code:
<AutoSizer>
{...
0
votes
1
answer
295
views
Is there any way to implement virtualization to react-sortablejs
I am trying to implement virtualization with react-sortablejs for lists with more than 500 items.
I have tried with react-virtuoso, but react-sortablejs wraps the entire react-virtuoso component as a ...
0
votes
1
answer
232
views
react-virtualized ArrowKeyStepper List
import { List, AutoSizer, ArrowKeyStepper } from 'react-virtualized';
...//
<div className={classes.listContainer}>
<ArrowKeyStepper
mode="cells"
...
5
votes
0
answers
423
views
Height state value not updating immediately and state value always one step behind
I have a small project using justified-layout and react-virtualized,
I set the width and height of the preview images with the useCallback of previewImageContainerRef Ref. ( In the <PreviewImage>...
0
votes
0
answers
249
views
How to make two rows inside one row react-virtualized?
I need to make for some rows react-virtualized from table, create 2 rows, 1 row it is row react-virtualized second row it is my custom row
Ho to do it, maybe has some example?
I tried use ...
1
vote
1
answer
2k
views
I need react multi-select with virtualized list options
I have a multi-select component with a lot of option data that takes a long time to load.
I optimized it with the react-select-virtualized and
it works ok but it doesn't support multi-selection yet.
...
1
vote
0
answers
160
views
React-Window in React inside Map in React
I implemented react-window and react-virtualized-auto-sizer.
My problem is that it crashes. It says Element type is invalid: expected a string (for built-in components) or a class/function (for ...
0
votes
1
answer
620
views
Why my virtualized list does not re-render when the data passed as prop actualizes?
I am having a problem that I can't solve by my own. I am making an app for making lists in React Native, and in my main screen, that shows the session initiated by the user, I have to render all the ...
1
vote
0
answers
48
views
Where should I place the code for async fetch/axios data for the <List>?
I checked all the sandboxes for react-window (react-virtualized-auto-sizer, react-window-infinite-loader)
They both use mock data
Where should I place the code for async fetch/axios data for the <...
0
votes
1
answer
509
views
row height is not changing after data is changed using sorting method in react-virtualized
I am rendering a long list using the react-virtualized library. everything is working fine, but when I sort the data using the javascript sort method then the height of the divs doesn't change when ...
1
vote
0
answers
144
views
List is not re-rendering the child components
I am using react-virtualized to window my dropdown list options.
The problem is that these options are not rendering its content.
constructor(props) {
super(props);
this.cache = new ...
0
votes
1
answer
610
views
How to notify List component that its row item height has changed and make the row rerenders?
I have a react-virtualized List, each item in the rows have an expand button, when the button is clicked the height of the row changes and it expands and show more info.
the issue here is, after the ...
1
vote
0
answers
230
views
REACT : add loading in virtualized list
I want to when scrolling body add skeleton loading my items in virtualized list
I use the react-viewport-list package
<ViewportList items={dataTable}>
{(item, index) => (
...
1
vote
0
answers
336
views
How to add border color to react virtualized table column (header and body together)?
I have a react virtualized table. Im trying to add a border color to the whole description column, like image below.
I've tried this : style= {{ borderColor: "red"}} in <Column, but ...
1
vote
1
answer
1k
views
bvaughn / react-virtualized : Stop AutoSizer from keep updating the width when browser window resized dynamically
How do I stop AutoSizer from keep updating the width when browser window resized dynamically ( dragged by mouse etc )?
I just need the width to calculate once ( on first load ) or when page is ...
1
vote
0
answers
2k
views
Scrolling position changes after loaded more items to react-virtualized list
The following issues below point to the same problem I am experiencing:
Scroll jumps to the top when List data gets updated
InfiniteLoader jumps when scrolling up after loadMoreRows completes
Adding ...
0
votes
1
answer
1k
views
React-virtualized Cellmeasurer defaulting to 'minHeight' of the CellMeasurerCache
I'm using a react-virtualized List component, which uses height data from CellMeasurerCache:
const cache = new CellMeasurerCache({fixedWidth: true, rowHeight: 150, minHeight: 50 });
This is the code ...
1
vote
1
answer
3k
views
React-Window with dynamic list dimensions
I'm trying to add react-window to my stack, however all examples require the width and height of the list to be statically defined like this:
import { FixedSizeList as List } from 'react-window';
...
1
vote
1
answer
990
views
Simple List example using react-virtualized
I'm trying to get a very simple example of "react-virtualized" to work using the "List" method of display.
Here's what I have so far (omitting html/css here because it's trivial, ...
0
votes
1
answer
4k
views
React virtualized doesn't work with auto sizer and infinite loader
I'd like to virtualize a large list in my react application and use react-virtualized-auto-sizer and react-window-infinite-loader packages. Below is how I did it.
import { FixedSizeList as List } from ...
0
votes
1
answer
2k
views
react-window-infinite-loader prefetching extra data
I am not sure why this is happening but the InfiniteLoader makes calls to fetch items twice(one for items from 0-8 and then from 8-16) when I am just loading the page and not scrolling at all. Also, ...
1
vote
0
answers
100
views
How do you keep highlighted text highlighted? Virtual list
I need to be able to let users highlight many rows, but the issue is that the rows highlighted become unhighlighted if the user scrolls too far. Although increasing the buffer helps, it doesn't solve ...
2
votes
0
answers
492
views
Scroll jumps to the top when List data gets updated
My use case is that I am using List component of react-virtualised for building a log container to render the logs in the reverse order.
Working
We fetches the logs in batches.
Initially we are ...