nextcloud / nextcloud/contacts

when sharing adresbook, user-search dropdownbox needs 2 times opening to be readable size

Open
#2,685 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
642
Forks
220
Avg merge
14h 39m
Merged PRs (30d)
51

Description

Steps to reproduce
  1. Select "contacts" from the nextcloud menubar
  2. Select "settings" item in the bottom left , to ope settings the panel.
  3. Press share on an adressbook (the link icon)
  4. Enter something in the search-bar, wait for the dropdown box.
  5. the size is incorrect at first open. the second time the box opens, it is bigger.
Expected behaviour

The search-bar dropdown expands for proper reading at the first time it opens.

Actual behaviour

The dropdown box size at first opening is unpredictable size and too small. 2nd time opening, it does have proper size.
Also, the line entries in the dropdown box don't use the full width of the dropdown box, even after second opening.
contacts--1st open
contacts--2nd open

Server configuration

Operating system:
Lubuntu 20.4

Web server:
Database:
PHP version:
Nextcloud version: (see Nextcloud admin page)
"NextCloud All-In-One" container v0.9.0 Beta (contains nextcloud 23.0.3)
Dutch Language enabled

Contacts version: (see Nextcloud apps page)
Contacts 4.10

Updated from an older Nextcloud or fresh install:
Updated from previous container version v0.8.0.

Signing status:
?

Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

404 not found

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

Are you using external storage, if yes which one: local/smb/sftp/...
No

Are you using encryption: yes/no
No

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No

Client configuration

Browser:
Chromium Version 89.0.4389.114 (Developer Build, ungoogled-chromium) (64-bit)

Operating system:
Winfows 10

CardDAV-clients:
N/A

Logs
Web server error log
Insert your webserver log here
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the Contacts settings panel, following the address-book share flow and its user-search dropdown. Reproduce the first and second openings while inspecting the browser behavior. Done means the dropdown has a readable width on its first opening and its entries use the full available width.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.