Comments (6)
It's been kind of an organic process! I'm opening to moving the <FlatList />
over to Revery though 👍
from oni2.
FYI: I'm working on this as part of the menu renovation project.
from oni2.
for context to anyone looking into this the menu is a <Flatlist/>
component which means it only renders the items in view. Revery
does have a ScrollView
which does come with a scrollbar but that would not work in this case as if list the menu renders is not virtualised (i.e. renders all visible and nonvisible components) this list becomes v. v. slow.
A solution here would be adding the option to render a scrollbar in the menu ?adding it to the virtualised list as a toggleable option?
from oni2.
Weird... supposedly FlatList
should have showsVerticalScrollIndicator
prop as true
by default? Do we just have to render the scrollbar (well, that and handle dragging the scrollbar) in the render
function then 🤔
from oni2.
We actually have our own FlatList: https://github.com/onivim/oni2/blob/master/src/editor/UI/FlatList.re
So we'd need to add a similar property to that as well as a bar for it.
from oni2.
:/ why do we have our own anyway
from oni2.
Related Issues (20)
- Failed to compile on Ubuntu20.04 with Clang14 due to skia HOT 2
- Demo the app. HOT 4
- packaging: `.desktop` does not have a proper vendor prefix
- Release does not run on Fedora 35 HOT 1
- Wakatime not installing: (Failure "Unable to locate extension after install")
- open onivim2 from the terminal HOT 2
- Tab consistency
- Where can i find an app image for onivim2
- Please update Docker build in user manual HOT 2
- How can I help? HOT 3
- Has the dev stopped? HOT 13
- Build error
- start onivim as daemon
- Docker build: `No package git222 available` HOT 11
- AppImage fails to open at all HOT 1
- Neo2 keyboard layout, some keys not working
- Cannot Download appimg HOT 7
- Pain
- Status of the project? HOT 2
- Unable to download via license key "An expiration date cannot be in the past."
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oni2.