Nathan Explosion Posted January 15 Posted January 15 Something I observed on another site where the grid display is the only option - just tested it on here, and same behaviour Switch to "Grid" view on the Forum index On a forum that has unread content, click the "Mark Forum as Read" icon You will observe that the strong effect on the forum title is removed, however the icon doesn't change from unread to read until a refresh is performed. Tested on desktop versions of Firefox, Edge, Chrome. I'll upload a video once someone replies to something on here.
Nathan Explosion Posted January 15 Author Posted January 15 Forums - Invision Community — Mozilla Firefox 2024-01-15 17-02-39.mp4
Nathan Explosion Posted January 15 Author Posted January 15 (edited) Cause appears to be the following: The markAsRead function in front\mixins\ips.core.table.js searches up up from the clicked link for the closest element with the class .ipsDataItem, and then adds ipsItemStatus_read and removes ipsItemStatus_unread. That's fine in the traditional view as there it is: But in grid view, there's no element with the .ipsDataItem class for it to find: Adding the ipsDataItem class to that indicated entry resolves the issue - located in front\index\forumGridItem.phtml Edited January 15 by Nathan Explosion
teraßyte Posted January 15 Posted January 15 Instead of adding a CSS class, they could change the JS to look for the [data-forumid] attribute instead. 🤔 I don't really like relying on specific CSS classes, which might get moved (or changed) in a custom theme. Data attributes won't get altered instead.
Jim M Posted January 15 Posted January 15 Thank you for bringing this issue to our attention! I can confirm this should be further reviewed and I have logged an internal bug report for our development team to investigate and address as necessary, in a future maintenance release. SoloInter 1
Recommended Posts