pnp / pnp/sp-dev-fx-controls-react
Rich text editor width not set
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 433
- Forks
- 418
- Avg merge
- 5d 6m
- Merged PRs (30d)
- 19
Description
Category
[ ] Enhancement
[X ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [ "@pnp/spfx-controls-react": "^3.23.0"]
Expected / Desired Behavior / Question
rich text editor width should be fixed at 100% of its container space
Observed Behavior
width starts at 1 character wide, and then increases to fit the contents written as you type.
Steps to Reproduce
Add a rich text editor without text to a webpart - confirm the width is minimum possible. Start typing, see it grow in width
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the rich text editor in a web part using @pnp/spfx-controls-react 3.23.0, then locate the control's implementation and styling entry point. Done means an empty editor initially occupies 100% of its container and remains usable while typing; verify the reported reproduction steps again.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100