• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Problem with "Latest Reviews" scroll

bug

Joined
May 22, 2015
Messages
13,238 (4.06/day)
Processor Intel i5-12600k
Motherboard Asus H670 TUF
Cooling Arctic Freezer 34
Memory 2x16GB DDR4 3600 G.Skill Ripjaws V
Video Card(s) EVGA GTX 1060 SC
Storage 500GB Samsung 970 EVO, 500GB Samsung 850 EVO, 1TB Crucial MX300 and 2TB Crucial MX500
Display(s) Dell U3219Q + HP ZR24w
Case Raijintek Thetis
Audio Device(s) Audioquest Dragonfly Red :D
Power Supply Seasonic 620W M12
Mouse Logitech G502 Proteus Core
Keyboard G.Skill KM780R
Software Arch Linux + Win10
If I visit http://techpowerup.com and (accidentally) scroll to the left when I'm already at the beginning of the "Latest Reviews" scroll, the page URL changes to http://techpowerup.com/#<latest_review_id>.

The problem is modern browsers are "helpful" and don't display anchors in the URL bar. Thus, nothing changes visually, but I'm not visiting the page I thought I was anymore. In more than one occasion, I went for days before realizing additional reviews were posted. It would be a huge QoL upgrade if that scroll wouldn't append the anchor when already at the beginning of that list. But I'm not sure how easy/hard it would be to implement the change.
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,051 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
It's easy to implement, but not sure if it can solve the underlying problem.

We need the anchor so that the back button takes you to the correct scroll position when you click the back button after clicking a review on the carousel

I've changed it so that clicking the arrows no longer adds the anchors, but that doesn't really make a difference?
 
  • Love
Reactions: bug

bug

Joined
May 22, 2015
Messages
13,238 (4.06/day)
Processor Intel i5-12600k
Motherboard Asus H670 TUF
Cooling Arctic Freezer 34
Memory 2x16GB DDR4 3600 G.Skill Ripjaws V
Video Card(s) EVGA GTX 1060 SC
Storage 500GB Samsung 970 EVO, 500GB Samsung 850 EVO, 1TB Crucial MX300 and 2TB Crucial MX500
Display(s) Dell U3219Q + HP ZR24w
Case Raijintek Thetis
Audio Device(s) Audioquest Dragonfly Red :D
Power Supply Seasonic 620W M12
Mouse Logitech G502 Proteus Core
Keyboard G.Skill KM780R
Software Arch Linux + Win10
It's easy to implement, but not sure if it can solve the underlying problem.

We need the anchor so that the back button takes you to the correct scroll position when you click the back button after clicking a review on the carousel

I've changed it so that clicking the arrows no longer adds the anchors, but that doesn't really make a difference?
Makes the world of a difference to my use case. I can now click the left arrow without worrying of getting stuck on a given review. I see the anchor is still added if I click on the first review and then back in the browser, but since I've never had a problem with that before, I'm not worried about this use case.
 

W1zzard

Administrator
Staff member
Joined
May 14, 2004
Messages
27,051 (3.71/day)
Processor Ryzen 7 5700X
Memory 48 GB
Video Card(s) RTX 4080
Storage 2x HDD RAID 1, 3x M.2 NVMe
Display(s) 30" 2560x1600 + 19" 1280x1024
Software Windows 10 64-bit
In a perfect world that box would refresh when a review is posted and show some indication that new reviews has been added, similar to how the frontpage "up next" logic works
 

bug

Joined
May 22, 2015
Messages
13,238 (4.06/day)
Processor Intel i5-12600k
Motherboard Asus H670 TUF
Cooling Arctic Freezer 34
Memory 2x16GB DDR4 3600 G.Skill Ripjaws V
Video Card(s) EVGA GTX 1060 SC
Storage 500GB Samsung 970 EVO, 500GB Samsung 850 EVO, 1TB Crucial MX300 and 2TB Crucial MX500
Display(s) Dell U3219Q + HP ZR24w
Case Raijintek Thetis
Audio Device(s) Audioquest Dragonfly Red :D
Power Supply Seasonic 620W M12
Mouse Logitech G502 Proteus Core
Keyboard G.Skill KM780R
Software Arch Linux + Win10
In a perfect world that box would refresh when a review is posted and show some indication that new reviews has been added,
Should be doable with a websocket or server sent events, I guess.

similar to how the frontpage "up next" logic works
Ah, you have the solution already ;)
 
Top