Copy link to clipboard
Copied
Hi guys,
I am struggling with dropdowns. When I expand them, they only show 4 items and also they're not scrollable, which is extremely annoying and not user-friendly. Is there a way to fix that?
Copy link to clipboard
Copied
Dropdowns are scrollable.
Copy link to clipboard
Copied
A drop-down should show something like 8 items in the list, and should be scrollable. Are you sure this is a drop-down field? Can you send a screenshot (preferably full-screen) of what you're seeing?
Copy link to clipboard
Copied
Is it possible to modify the look & behaviour? Yes, it is a dropdown list. Unfortunately I can't share the whole document, but here's what every dropdown on the PDF looks like. Thanks for your help (again)!
Copy link to clipboard
Copied
Oh and to specify: I can scroll it, but only by clicking on the arrows, not with the mouse...
Copy link to clipboard
Copied
Yes, that's how it works. And no, it can't be changed.
Copy link to clipboard
Copied
Are you on a Mac? If so, then there is a known bug with dropdowns on the Mac, which is that limited entries are shown. A couple of people on this forum have reported only seeing one dropdown entry.
Copy link to clipboard
Copied
Yes, I'm on a Mac, but I had it tested by a friend on Windows and he saw the same.
Copy link to clipboard
Copied
You should consider using a JavaScript popup menu:
https://opensource.adobe.com/dc-acrobat-sdk-docs/library/jsapiref/JS_API_AcroJS.html#popupmenuex
Copy link to clipboard
Copied
This has its own issues, though. For example:
- The list can't be scrolled with the mouse.
- You can't jump to an item by pressing the first letter in its name.
- The selected value is not saved anywhere, unless you copy it in your script to a separate field.