Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Добавлен якорь на блок комментариев для кнопки комментариев #259

Merged
merged 1 commit into from
Mar 3, 2025

Conversation

m0nclous
Copy link
Contributor

@m0nclous m0nclous commented Mar 3, 2025

При нажатии на кнопку, я, как пользователь, ожидаю то что меня перекинет к блоку комментариев, чтобы я мог их прочитать или добавить, но сейчас при нажатии меня просто перекидывает вверх (обновляется страница)

В этом PR я добавил якорь на блок с id comments-frame, это позволяет переместить фокус страницы на блок с комментариями, без обновления.

Также переход к комментариям работает со страницы списка постов

Демонстрация работы этой фичи:

chrome-capture-2025-3-3

@m0nclous
Copy link
Contributor Author

m0nclous commented Mar 3, 2025

Меня смущает этот блок с ошибками

image

@tabuna tabuna merged commit 809b497 into laravelsu:master Mar 3, 2025
0 of 4 checks passed
@m0nclous m0nclous deleted the feature/hash-anchor-comments branch March 4, 2025 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants