Comments (10)
I've noticed this at times too, but it's one of those ones that are difficult to reproduce consistently. We'll get to the bottom of it eventually though!
from issue-archive.
I often see a jump with the result of not seeing the first unread post when the discussion contains images (which seem to be loaded after jumping to the correct place in the discussion).
from issue-archive.
@franzliedke That is indeed another issue (but I don't think it's the cause of the problems in the screencap above). How would we fix that, though? Maybe we could set an onload handler to anchor the scroll position when we render the posts?
from issue-archive.
Yep, sounds like the only solution.
from issue-archive.
I just stumbled across this library, that should fix the image load scrolling behavior: https://github.com/changbenny/scrollbear
from issue-archive.
Possible duplicate of flarum/framework#285?
from issue-archive.
Fixed in flarum/framework#2160
from issue-archive.
Actually, I'll reopen this for now as afaik we haven't tested the effects of the new changes on posts with images that load after the posts have loaded.
from issue-archive.
This is related to #261 as well.
Also: since this issue was created, Chrome and Firefox introduced scroll anchoring, which should have reduced this issue a lot.
from issue-archive.
I'm posting here because I think this isn't actually related to images. I have a user reporting that this is still happening to him even in discussions where there are no recent images, and the behaviour he's seeing is exactly the one of the GIF in the first post (where I see no images, anyway). He clicks a discussion with unread posts and he's brought to 20-30 messages above the actual message he should be pointed to.
I'm running beta.15 with commits d59a5922609c012d3cba2148e498d78737ed4b07 and 30c4c139eb15c1f9bf809b58be5a2d4c918cc6ae cherry-picked, which have to do with the PostStream. The user is using Chrome on Android/desktop. I haven't personally seen this issue recently, but apparently it's still there even after recent improvements.
from issue-archive.
Related Issues (20)
- Discussion page: back button sometime acting weird on mobile HOT 3
- Wrong discussionCount in API/tags
- SVG Logo Upload Support
- SVG Logo Upload Support
- Font Awesome 6 Update HOT 4
- Improving Access Tokens HOT 4
- Slugs are not supported for UTF-8 characters
- In Admin, Permissions 'Allow tag editing' has a default value of 'Custom' HOT 1
- Improve forget password error message
- Increase Post-content validation max-value HOT 1
- Click back button to go a new page. HOT 2
- Upgrading from older betas fails HOT 1
- When user register, the email adress should be trimmed HOT 2
- Language selection
- Avoid usage of third party CDN due to legal reasons
- JS/Frontend app.store multi response sets should be collections HOT 1
- Replace LESS processing package HOT 1
- Add logged in user to HTTP response header HOT 1
- Lock notification says "locked" even when the discussion is unlocked
- Bug: Post title publicly visible, but content forbidden
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 issue-archive.