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

Handsontable should work properly in <iframe> #5723

Merged
merged 12 commits into from Jan 25, 2019
Merged

Conversation

mrpiotr-dev
Copy link
Contributor

@mrpiotr-dev mrpiotr-dev commented Jan 17, 2019

Context

Currently, we use global window and document to do every DOM operation what could make for bugs.

How has this been tested?

Use the following example https://jsfiddle.net/cagrLk4z/

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)

Related issue(s):

  1. Handsontable won't work inside an iframe when initialized outside of it #5686

@mrpiotr-dev mrpiotr-dev self-assigned this Jan 17, 2019
src/helpers/feature.js Outdated Show resolved Hide resolved
Co-Authored-By: swistach <swistach@users.noreply.github.com>
Copy link
Contributor

@wszymanski wszymanski left a comment

Choose a reason for hiding this comment

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

Few changes yet. Please update also TypeScript definition file.

src/helpers/dom/element.js Outdated Show resolved Hide resolved
src/helpers/browser.js Outdated Show resolved Hide resolved
src/helpers/unicode.js Show resolved Hide resolved
src/plugins/copyPaste/focusableElement.js Outdated Show resolved Hide resolved
src/plugins/copyPaste/focusableElement.js Outdated Show resolved Hide resolved
Copy link
Contributor

@wszymanski wszymanski left a comment

Choose a reason for hiding this comment

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

As above.

src/renderers/autocompleteRenderer.js Outdated Show resolved Hide resolved
@wszymanski wszymanski assigned mrpiotr-dev and unassigned wszymanski Jan 21, 2019
Copy link
Contributor

@wszymanski wszymanski left a comment

Choose a reason for hiding this comment

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

cr

@wszymanski wszymanski assigned mrpiotr-dev and unassigned wszymanski Jan 21, 2019
Copy link
Contributor

@wszymanski wszymanski left a comment

Choose a reason for hiding this comment

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

Just small suggestions yet. I've tested UI and it seems to work good now.

src/3rdparty/walkontable/src/overlay/_base.js Outdated Show resolved Hide resolved
src/3rdparty/walkontable/src/overlay/left.js Show resolved Hide resolved
src/helpers/dom/element.js Outdated Show resolved Hide resolved
@wszymanski wszymanski assigned mrpiotr-dev and unassigned wszymanski Jan 25, 2019
Copy link
Contributor

@wszymanski wszymanski left a comment

Choose a reason for hiding this comment

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

👍

@wszymanski wszymanski assigned mrpiotr-dev and unassigned wszymanski Jan 25, 2019
@mrpiotr-dev mrpiotr-dev merged commit 43f7ce1 into develop Jan 25, 2019
@mrpiotr-dev mrpiotr-dev deleted the feature/issue-5686 branch January 25, 2019 11:45
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.

None yet

3 participants