dailydotdev / daily

daily.dev is a professional network for developers to learn, collaborate, and grow together 👩🏽‍💻 👨‍💻
https://daily.dev
GNU Affero General Public License v3.0
18.02k stars 462 forks source link

🐛 BUG: Tab Comment highlight line is in incorrect position. #1121

Closed INTS-DucAnh closed 4 months ago

INTS-DucAnh commented 5 months ago

What went wrong? 🤔

The first time i click on Comment Button of a post in hub, it show me a box like this: image You can see, the white line under the Write button. but when changed to Preview tab, it still on. image After that, i click to Write button again, it started to change to under Preview button. image Currently, i use Brave and Window 10 with Daily.dev version 3.31.5 Updated 11 April 2024

Expected Behavior

No response

Steps to Reproduce Issue

1. Go to 'Home'
2. Click on 'Any post'
3. Click on 'Button Comment'
4. Click on 'Preview Comment'
5. Click on 'Write Comment'
6. See the error

Solution Proposed

Might be flag initValue of underline is wrong at the firstime.

Screenshots

![DESCRIPTION](LINK.png)

Environment

Window, Brave Version 1.64.122 Chromium: 123.0.6312.122 (Official Build) (64-bit)

Browsers

Brave

OS

Windows

Version of daily.dev

3.31.5

Additional Context

No response

Code of Conduct

rebelchris commented 5 months ago

Hi @INTS-DucAnh thanks a lot for reporting, we'll look into this issue and report back.

nensidosari commented 4 months ago

This should now be fixed, thanks for reporting!