Comments (2)
@jerrylow Sure thing! You can actually see some of the weirdness on the official demo page for vanilla JS. If you reduce the width of your viewport, eventually the table with forceResponsive: false
breaks out of the confines of the parent (from roughly 675-580px wide) because the parent is using padding. This is not exactly the same problem I had, in which the table would immediately switch to the mobile version, but it's the same underlying cause.
I've created a codepen that illustrates the issue which mainly manifests when a table's parent element is offset from the viewport, using the current basictable code and demo styles: https://codepen.io/cr0ybot/pen/RwEKQGG
from basictable.
@cr0ybot in my testing the values are always the same, there is no harm in merging but could you provide the DOM structure so I can see an accurate problem + solution?
from basictable.
Related Issues (18)
- Table gets stuck when resizing
- Adding rowspan attribute in <td> table heading not work correctly in mobile
- Table not getting back to normal mode after responsive change HOT 1
- Issue with AJAX HOT 1
- Demo page - tableWrapper should be corrected to tableWrap HOT 1
- feature_request(dependencies): vanilla JavaScript or Cash instead of JQuery HOT 3
- First column header throws error HOT 3
- table cell widths are kept HOT 4
- Multiple span.bt-content inside td HOT 3
- how can i use other titles for footer in table?
- Add thead > td support HOT 1
- feature_request(thead): support tables without thead HOT 1
- feature_request(breakpoints): orientation breakpoint HOT 1
- Move no necessary dependencies to devDependencies HOT 2
- Multiple tables HOT 2
- problem with datatable. HOT 1
- Issue with dynamic table HOT 5
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 basictable.