-
Notifications
You must be signed in to change notification settings - Fork 447
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
*Close sidebar* focused and visible after page load on mobile #10908
Comments
Yep, came with this PR: nextcloud-libraries/nextcloud-vue#4633 Hopefully will be fixed by this PR: nextcloud-libraries/nextcloud-vue#4864 Focused search input on page load should be fine, i guess? |
@nextcloud/designers Do you think we should have the sidebar initially opened on mobile by default? What about:
It is always annoying for me when I open a chat in a small window, because I need to close the sidebar first |
On mobile this might cause the keyboard to show. So to add to the problem @ShGKme outlined above, you would have to close keyboard and sidebar to see the main content. |
agree @ShGKme. I actually wouldn't even make it configurable. Do you have any use case in mind where the sidebar should be open when navigating to the page? |
No. That's just how it has been working all the time :D |
Sorry, I misinterpreted the issue. I thought we were talking about the right sidebar. |
Indeed, the sidebar should be closed by default on mobile. Apps are already able to overwrite this on their own. See e.g. Lines 488 to 490 in 47ea02c
|
Also when focusing the search box, we're facing a loop for mobiles / desktops with small screen resolution:
loop.mp4Workaround I have found so far is not showing the trailing button unless there is a non-empty value (reverts changes asked by @marcoambrosini #9974) |
@Antreesy as a fix, let's make the trailing button non-focusable |
There can't be enough direct DOM manipulations, but yeah, it does the job |
How to use GitHub
Steps to reproduce
Expected behaviour
I see the conversation list or chat distraction free
Actual behaviour
This is probably an accessibility feature from nextcloud/vue. Maybe the focus after page load should be set elsewhere?
Talk app
Talk app version: (see apps admin page:
/index.php/settings/apps
)Custom Signaling server configured: yes/no and version (see additional admin settings:
/index.php/index.php/settings/admin/talk#signaling_server
)Custom TURN server configured: yes/no (see additional admin settings:
/index.php/settings/admin/talk#turn_server
)Custom STUN server configured: yes/no (see additional admin settings:
/index.php/settings/admin/talk#stun_server
)Browser
Microphone available: yes/no
Camera available: yes/no
Operating system: Windows/Ubuntu/...
Browser name: Firefox/Chrome/...
Browser version: 85/96/...
Browser log
Server configuration
Operating system: Ubuntu/RedHat/...
Web server: Apache/Nginx
Database: MySQL/Maria/SQLite/PostgreSQL
PHP version: 8.0/8.1/8.2
Nextcloud Version: (see admin page)
List of activated apps:
Nextcloud configuration:
Server log (data/nextcloud.log)
The text was updated successfully, but these errors were encountered: