-
Notifications
You must be signed in to change notification settings - Fork 36
Seeding Report: Responsive Display is not rendered correctly. #238
Comments
I would like to be assigned this issue. |
This appears to be the same issue as #230 here, which is also in the FarmData2 upstream at: |
I apologize, the issue is the same one as DickinsonCollege#592 |
The behavior you report is different, but I think that the root cause is the same. It seems that whatever mechanism is being used to determine the window size is not working as expected. It is manifesting either as columns being hidden when they shouldn't be or not being hidden when they should be. Hopefully there is some other way to find the screen size. The farmOS application introduces Bootstrap to every page. So there may be a way to solve this issue using the Bootstrap Breakpoints (https://getbootstrap.com/docs/5.0/layout/breakpoints/). Though, I have not investigated that much. |
The columns of the Seeding Report are not displayed correctly when changing window size.
When changing the window size, the columns should appear with some columns being omitted to fit the mobile window size.
The images show the report for Seeding Type = "All" but all types of Seeding have this problem.
Here is how the report should look like when window size is mobile:
Compare to the current incorrect rendered display:
Steps to Reproduce:
When observe the code snippet in seedingReport.html, we can see that isMobile = true if the following conditions are met:
And some columns should disappear when isMobile = true:
You can inspect the element to see that the window size met the condition for isMobile to be true but the display does not rendered accordingly.
The text was updated successfully, but these errors were encountered: