Skip to content
This repository was archived by the owner on Aug 5, 2026. It is now read-only.

[BPK-972] Make height of textinput 100pc - #120

Merged
George Gillams (georgegillams) merged 2 commits into
masterfrom
bpk-972-rn-input-height-100pc
Sep 22, 2017
Merged

George Gillams (georgegillams) merged 2 commits into
masterfrom
bpk-972-rn-input-height-100pc

Conversation

@georgegillams

@georgegillams George Gillams (georgegillams) commented Sep 22, 2017 •

Copy link
Copy Markdown
Contributor
  • For any new web components I've made sure that the style can be extended by the consumer using a className override.
  • For any new native components I've made sure that the style can be extended by the consumer using a style override.
  • For any new files I've included the Apache 2.0 License header at the top of the file.
  • I've updated changelog.md for any changes that need to be highlighted in the changelog.
  • If I've updated npm-shrinkwrap.json those changes are intentional.

@georgegillams

George Gillams (georgegillams) commented Sep 22, 2017 •

Copy link
Copy Markdown
Contributor Author

Before:
before

After:
after

// TODO Replace with fontFamilyLg token once available
fontFamily: Platform.OS === 'android' ? 'sans-serif-medium' : 'System',
lineHeight: textLgLineHeight,
height: '100%',

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd expect to see a snapshot update for this.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Soon Danger will do this!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But Travis already does!

@georgegillams George Gillams (georgegillams) Sep 22, 2017 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like instead of doing this, we should have a touch-listener on the entire component which activates the TextInput.
Thoughts?

@backpackbot

Backpack Bot (backpackbot) commented Sep 22, 2017 •

Copy link
Copy Markdown
Messages
📖

Thanks for the PR 🎉.

Generated by 🚫 dangerJS

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@georgegillams
George Gillams (georgegillams) deleted the bpk-972-rn-input-height-100pc branch September 22, 2017 12:35
Iris Li (wpe1arhy) added a commit that referenced this pull request Jul 24, 2026
…egex (#4965)

* fix(adoption-analyzer): remove polynomial ReDoS in nx-projects path regex

Replace the trailing-slash regex /\/+$/ with a linear-time helper. The
regex ran on project.root (parsed from project.json/package.json, treated
as untrusted library input) and had O(n^2) backtracking on inputs with
many trailing '/' not ending in '/', flagged by CodeQL js/polynomial-redos
(alert #120, high). Behaviour is unchanged; adds a targeted test.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

* test(adoption-analyzer): cover root "." → empty prefix branch

Adds the test case suggested in review to fully cover the
buildProjectIndex conditional (root "." maps to an empty prefix
that resolves every path).

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants