Skip to content

Conversation

@stefcameron
Copy link
Owner

Originally requested here: geongeorge/Canvas-Txt#83

And fix proposed here: geongeorge/Canvas-Txt#94

By default, text overflows. Set to false to clip the text to the specified box.

ttc-overflow

PR Checklist

Please leave this checklist in your PR.

  • Issue being fixed is referenced.
  • Source changes maintain browser compatibility.
  • Web APIs introduced have broad browser coverage (remember to check Safari which is often very late to adopt new APIs).
  • Docs app has been updated (if applicable).
  • Unit test coverage added/updated.
  • Typings added/updated.
  • Changes do not break SSR:
    • Careful to test typeof document/window !== 'undefined' before using it in code that gets executed on load.
  • README updated (API changes, instructions, etc.).
  • Changes to dependencies explained.
  • Changelog entry added under "UNRELEASED" section (added if did not exist).
    • See Contributing instructions for guidance.
    • EXCEPTION: A Changelog entry is not required if the change does not affect any of the source files that produce the package bundles. For example, demo changes, tooling changes, test updates, or a new dev-only dependency to run tests more efficiently should not have a Changelog entry since it will not affect package consumers.

Originally requested here: geongeorge/Canvas-Txt#83

And fix proposed here: geongeorge/Canvas-Txt#94

By default, text overflows. Set to `false` to clip the text to the
specified box.
@stefcameron stefcameron merged commit 21fbfb0 into master Mar 13, 2024
@stefcameron stefcameron deleted the overflow branch March 13, 2024 19:58
Ehsanullah946 pushed a commit to Ehsanullah946/text-to-canvas that referenced this pull request Nov 27, 2025
Originally requested here: geongeorge/Canvas-Txt#83

And fix proposed here: geongeorge/Canvas-Txt#94

By default, text overflows. Set to `false` to clip the text to the
specified box.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants