Comments (3)
A quick check indicates the examples work with Textual 0.5.0, but the above behavior happens with 0.6.0 or newer. On newer Textual versions, the Dropdown elements appear to be created with no width:
[09:20:17] EVENT message_pump.py:454
Resize(size=Size(width=0, height=15), virtual_size=Size(width=0, height=15)) >>> DropdownChild() method=None
[09:20:17] EVENT message_pump.py:454
Show() >>> DropdownChild() method=None
from textual-autocomplete.
This should be fixed as of 1.0.1b0, which is now available on PyPI. Let me know if you encounter any issues.
from textual-autocomplete.
@darrenburns do you have any starting points as to how to fix this ? Can make a PR if necessary.
from textual-autocomplete.
Related Issues (16)
- textual-autocomplete breaks textual-0.12+ HOT 2
- [BUG] `AutoComplete` no longer displays inside `Static` widget (v2.1.0b0) HOT 4
- [FEATURE] Display a hint above the input (or in a dynamic way)
- Please add a license HOT 2
- Bug in example: incorrect sorting by match at start of text
- [BUG] Dropdown list is not constrained to screen
- [FEATURE] Adjust layout
- [FEATURE] Click to select items HOT 1
- after 1 dropdown it disable HOT 2
- Multiple autocomplete items event handling HOT 1
- AttributeError: type object 'AutoComplete' has no attribute 'Selected' HOT 1
- [DOCUMENTATION] Confirm Correct Documentation HOT 1
- Is it possible to have Grouped Autocomplete? HOT 2
- Support for textual 0.11.0
- Dropdown displays even if input does not have focus
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from textual-autocomplete.