Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiment/cards #47

Merged
merged 13 commits into from
Jan 5, 2022
Merged

Experiment/cards #47

merged 13 commits into from
Jan 5, 2022

Conversation

obgibson
Copy link
Collaborator

Requirements for a pull request

Fill out the template below. Any pull request that does not include enough information to be reviewed in a timely manner may be closed at the maintainers' discretion.

  • Unit tests related to the change have been updated
  • Documentation related to the change has been updated

Description of the Change

Alternate Designs

Possible Drawbacks

Verification Process

Release Notes

@obgibson obgibson added the ready-for-review Ready for thorough review label Dec 21, 2021
src/pages/Task/index.tsx Show resolved Hide resolved
src/pages/Task/index.tsx Outdated Show resolved Hide resolved
src/pages/Task/index.tsx Outdated Show resolved Hide resolved
src/pages/Task/index.tsx Outdated Show resolved Hide resolved
src/utils/FEATURE.ts Outdated Show resolved Hide resolved
src/components/MFCard/useTaskCards.ts Outdated Show resolved Hide resolved
const [elementHeight, setElementHeight] = useState(0);

// Check iframe height every second in case it changes somehow.
useEffect(() => {
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Did you try attaching this to the iframe onload?

Copy link
Contributor

Choose a reason for hiding this comment

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

I did not. That could work but I was worried about possibly changing height of the card. But then again do we want to expand iframe to cover the whole card or is it better to let scrollbar handle it.

@obgibson obgibson marked this pull request as ready for review January 5, 2022 16:49
@obgibson obgibson merged commit 93eb198 into master Jan 5, 2022
@obgibson obgibson deleted the experiment/cards branch January 5, 2022 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-review Ready for thorough review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants