Description
🐛 Bug Report
When putting a TextField into a Table row/cell, typing into the TextField mostly prevents me from entering spaces. If I spam the spacebar a lot, perhaps I can get a few to show up, but generally the spacebar is blocked from input.
🤔 Expected Behavior
I should be able to enter as many spaces into a TextField as I want.
😯 Current Behavior
I can enter most text just fine, but spaces seem to be mostly blocked.
Codesandbox reproducing the behaviour: https://codesandbox.io/s/cool-glitter-vixiw
Repro steps using the above codesandbox:
- Load the thing (it is a kind of invoice generation app)
- Scroll down to the bottom of the react app, where there is a single-row table (representing a form where a user is able to enter invoice items)
- Under the Description column of the table, try typing out a sentence containing multiple spaces.
- Spaces no workie
💁 Possible Solution
No idea what's going on, perhaps the space key is being hijacked somewhere?
🔦 Context
I want to create a kind of interactive form that has some parts of it nested inside a table. It is an invoice generator. You can kind of think of it like a spreadsheet, I guess?
💻 Code Sample
https://codesandbox.io/s/cool-glitter-vixiw
🌍 Your Environment
Software | Version(s) |
---|---|
react-spectrum | 3.5.0 |
@react-spectrum/table |
3.0.0-alpha8 |
Browser | Google Chrome Version 86.0.4240.111 (Official Build) (x86_64) |
Browser | Safari Version 14.0 (15610.1.28.1.9, 15610) |
Operating System | macOS 10.15.7 |
🧢 Your Company/Team
filmaj consulting
🕷 Tracking Issue (optional)
N/A