-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
b:dataTable overflow #794
Comments
@chongma is this issue solved after the commit? |
@TheCoder4eu it works for me but i wasn't sure if it was good enough to make it into the release without review |
@TheCoder4eu whoops. i have been deleting all my PRs. i kept resetting my branch to upstream and it deleted all my changes. there are quite a few i have deleted. |
@stephanrauh @chongma , I found the original amened commit andcommitted it again. |
hi, i am a bit behind so i will try to check it later. it should be in the main branch now? |
@chongma I don't see the benefit of your change yet. Would you mind to explain it again? Be that as it may, it seems to be OK. I only had to do a minor change because the divs piled up in our AJAX demo. IMHO, the change is good to go. |
On a mobile device the data table seems to be the only control which pushes the page width beyond the screen limits. This can be corrected by manually wrapping it in a div and my suggestion was to make it the default. Not sure if it might mess other things up though... |
OK, I've got it. I'll ponder about the implications. Maybe we should make it configurable? If so, how to call the flag? |
@stephanrauh ,@chongma we could introduce a flag and call it "wrapped" ?
|
Hmmmm then shouldn't that be the default setting? |
No, it shouldn't. I've added a new flag "scroll-horizontally" activating your, @chongma 's, wrapper. A short time I thought about abandoning it completely because there's already a similar flag called |
I've just uploaded the new snapshot version of BootsFaces to Maven Central. See #369 on how to get it. @chongma Please double-check if I've implemented `scroll-horizontally´ correctly. We'd like to publish the new version of BootsFaces 1.1.2 this weekend. If you don't manage to test the feature, never mind that, but if you do, that'd be great! A luego |
@chongma I'd like to replace your wrapper by the standard wrapper provided by Bootstrap: https://v4-alpha.getbootstrap.com/content/tables/#responsive-tables. However, the standard wrapper doesn't include |
good find. i am sure the tables should be wrapped especially on small screens. how can i test the feature? should we wrap the data tables in the showcase and then i can test on a small screen and report back? |
@chongma @stephanrauh this is a issue reopened on a Closed Milestone. |
b:dataTable
is the only component which seems to affect the mobile layout width. if when it is rendered it was wrapped in a div which had stylethen it would always scroll horizontally within its container?
The text was updated successfully, but these errors were encountered: