Skip to content

Conversation

@dleroux
Copy link
Contributor

@dleroux dleroux commented Oct 13, 2020

WHY are these changes introduced?

Fixes #0000

WHAT is this pull request doing?

How to 🎩

🖥 Local development instructions
🗒 General tophatting guidelines
📄 Changelog guidelines

Copy-paste this code in playground/Playground.tsx:
import React from 'react';
import {Page} from '../src';

export function Playground() {
  return (
    <Page title="Playground">
      {/* Add the code you want to test in here */}
    </Page>
  );
}

🎩 checklist

  • Tested on mobile
  • Tested on multiple browsers
  • Tested for accessibility
  • Updated the component's README.md with documentation changes
  • Tophatted documentation changes in the style guide
  • For visual design changes, pinged one of @ HYPD, @ mirualves, @ sarahill, or @ ry5n to update the Polaris UI kit

@github-actions
Copy link
Contributor

github-actions bot commented Oct 13, 2020

🟡 This pull request modifies 5 files and might impact 60 other files. This is an average splash zone for a change, remember to tophat areas that could be affected.

Details:
All files potentially affected (total: 60)
📄 UNRELEASED.md (total: 0)

Files potentially affected (total: 0)

🧩 src/components/Pagination/tests/Pagination.test.tsx (total: 0)

Files potentially affected (total: 0)

🧩 src/components/Portal/Portal.tsx (total: 60)

Files potentially affected (total: 60)

🧩 src/components/Portal/tests/Portal.test.tsx (total: 0)

Files potentially affected (total: 0)

🧩 src/components/Tabs/tests/Tabs.test.tsx (total: 0)

Files potentially affected (total: 0)

: getUniqueID();

componentDidMount() {
const constainerNode = document.getElementById(UNIQUE_CONTAINER_ID);
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
const constainerNode = document.getElementById(UNIQUE_CONTAINER_ID);
const containerNode = document.getElementById(UNIQUE_CONTAINER_ID);

Copy link
Contributor Author

Choose a reason for hiding this comment

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

🙈

@alex-page alex-page changed the title [WIP] [Portal] Render single div for container element [Portal] Render single div for container element Oct 21, 2020
@alex-page alex-page marked this pull request as ready for review October 21, 2020 15:12
@alex-page alex-page self-requested a review October 21, 2020 15:22
### Enhancements

Updated `Textfield` with a `type` of `number` to not render a spinner if step is set to `0` ([#3477](https://github.com/Shopify/polaris-react/pull/3477))
- Changed `Portal` to render all `Portals` in a single div ([#3465](https://github.com/Shopify/polaris-react/pull/3465))
Copy link
Member

Choose a reason for hiding this comment

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

Do we want to add the conversion to functional component

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍

Copy link
Member

@kyledurand kyledurand left a comment

Choose a reason for hiding this comment

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

👏

@dfmcphee dfmcphee mentioned this pull request Oct 21, 2020
6 tasks
@alex-page
Copy link
Member

Closing this for #3544

@alex-page alex-page closed this Oct 22, 2020
@alex-page alex-page deleted the add-container branch October 22, 2020 14:04
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.

5 participants