Back button not working when opening entity details after scrolling down
### Checklist
- [x] I have updated to the latest available Home Assistant version.
- [x] I have cleared the cache of my browser.
- [x] I have tried a different browser to see if it is related to my browser.
- [x] I have tried reproducing the issue in [safe mode](https://www.home-assistant.io/blog/2023/11/01/release-202311/#restarting-into-safe-mode) to rule out problems with unsupported custom resources.
### Describe the issue you are experiencing
Showing details of entities on the devices page (/config/devices/device/<id>) does not directly allow jumping back to the previous page when scrolling down before opening the details window.
It seems to be depending on the number of opened details windows (i.e. opening it only once requires pressing the back button two times, opening it two times requires pressing the back button three times).
It works perfectly fine when clicking on an entity without scrolling down the page and also works perfectly fine on the entities page (/config/entities).
The issue only seems to occur in Firefox. I also tested in in Chrome where the issue does not exist.
### Describe the behavior you expected
The back button should bring me back to the previous page.
### Steps to reproduce the issue
1. Go to Settings > Devices & services > Integrations > [Any integration] > [Any device]
2. Click on any entity of the device to open the details window
3. Close the details window
4. Jump back to the previous page -> works as expected
5. Select a device again
6. Scroll down
7. Click on any entity of the device to open the details window
8. Close the details window
9. Try to jump back to the previous page -> does not work
10. Try to jump back again -> works as expected
### What version of Home Assistant Core has the issue?
2026.6.1
### What was the last working version of Home Assistant Core?
2025.x
### In which browser are you experiencing the issue?
Mozilla Firefox 151.0.3
### Which operating system are you using to run this browser?
Kubuntu 26.04
### State of relevant entities
```txt
```
### Problem-relevant frontend configuration
```yaml
```
### JavaScript errors shown in your browser console/inspector
```txt
```
### Additional information
_No response_
0 条评论