[UI] Strange behavior of the preview popup link

Created on 26 September 2024, about 2 months ago

Problem/Motivation

The preview popup link has a strange behavior on the click event if the current link does not have a path to the content.

Steps to reproduce

Add a couple of organizations.
Those organizations should appear on the home stream page on the right sidebar in the `Newest organizations` block.
Go to the mobile view.
Click on the image of the organization teaser.

Proposed resolution

Add a condition if the preview popup link has a `#` symbol or is empty.
Improve the close behavior of the preview popup.

Remaining tasks

N/A

User interface changes

The page does not scroll to the top if the user clicks on the preview popup link.

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

13.0

Component

Front-End

Created by

πŸ‡ΊπŸ‡¦Ukraine Agami4

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024