Comments (7)
those are tiny scrollbars. We don't know yet why on some systems and configurations they appear and in others they won't. However, increasing the height of an individual row usually fixed the problem.
can you try to run something like:
lineup(shared_iris, options=list(rowHeight=20))
from lineup_htmlwidget.
Thanks for the fast reply. Unfortunately rowHeight
doesn't seem to do anything. I can't see any effect of this option.
The arrows do not appear if I use lineupjs::lineup
independently. The problem seems to be limited to the context of my shiny app. There I have some custom CSS to make some parts of the lineup table transparent.
.lu-row {
background-color: rgba(0,0,0,0.0) !important;
}
.lu-header {
background-color: rgba(0,0,0,0.0) !important;
}
.lu-handle {
background-color: rgba(0,0,0,0.0) !important;
}
But I guess that's not the problem.
from lineup_htmlwidget.
I was able to set the row height manually in my CSS:
.lu-row {
background-color: rgba(0,0,0,0.0) !important;
height: 20px !important;
}
That worked and solved the scrollbar problem. Thanks for your help!
from lineup_htmlwidget.
.lu-row { background-color: rgba(0,0,0,0.0) !important; height: 20px !important; }
please avoid setting the height manually. LineUp needs to know what the row height is since it optimized the rendering to show only the visible rows. With this approach you might end up with scrolling articfacts. You can try to set overflow: hidden !important
instead;
from lineup_htmlwidget.
Hm... I understand. overflow: hidden !important
doesn't work for me.
Do you have an idea why the rowHeight option has no effect? In the R help ?lineup
this option is not explicitly documented. Maybe it's not implemented yet on the R site?
from lineup_htmlwidget.
there was a bug when merging the default options with the given options. Fixed with 39a9acb. Moreover, I updated to lineupjs 3.1.5
lineup(iris, options=list(rowHeight=40))
results now in
from lineup_htmlwidget.
Excellent! Thank you very much!
from lineup_htmlwidget.
Related Issues (14)
- support callback for selection and hover changes HOT 1
- Ask Shiny people to integrate LineUp as showcase on website HOT 2
- Adding Factor Variable with Single Level Breaks in Shiny HOT 1
- Hierarchical Sorting - Not Working HOT 3
- Internationalisation HOT 1
- Conflicts with shinyWidgets HOT 3
- create builder version
- unsupported browser detected HOT 2
- support coloring via configuration
- LineUpJS files not found in htmlwidgets/dist HOT 1
- Another LineUp to HTMLwidget port (Candela) HOT 1
- publish to CRAN HOT 1
- widget is not working in knitted HTML document (or anywhere else) HOT 1
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 lineup_htmlwidget.