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

Bugfix/safari 9 issues #15

Merged
merged 4 commits into from
Aug 5, 2020
Merged

Bugfix/safari 9 issues #15

merged 4 commits into from
Aug 5, 2020

Conversation

oftheheadland
Copy link

Ticket: https://app.breeze.pm/projects/100762/cards/3442549 (this ticket is related to recent ticket comments)

Main changes:
Safari 9 and below treats element.style as a read-only attribute. Changed all usage of element.style to element.style.cssText to get around this issue

Steps to test:

  1. In the HMW client folder's package.json, change this line:
    "glossary-panel": "github:Eastern-Research-Group/glossary"
    to
    "glossary-panel": "github:Eastern-Research-Group/glossary#bugfix/safari-9-issues"

  2. Run npm install in the client folder.

  3. Run the app locally. Verify the glossary works as it should.

  4. To test on an older iPad, I used the Browserstack to test my localhost:3000 on Browserstack's iPad Mini 4 - iOS 9.3
    image
    image

  5. Verify that touch events correctly open and close the glossary popup.

  6. Search a location on the Community tab.

  7. Click a glossary term and verify that the Glossary panel opens and displays the term you clicked.
    Note: Arcgis 4.x does not appear to be supported in older browsers like Safari 9 so the map won't show on this emulator, more info in the Breeze ticket above.

@oftheheadland
Copy link
Author

@cschwinderg if you're short on time we can merge this and test it on Brad's iPad because that's the real test.

Copy link
Collaborator

@cschwinderg cschwinderg left a comment

Choose a reason for hiding this comment

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

Looks good! Can you create a PR to the mywaterway repo that just updates the glossary component?

@cschwinderg cschwinderg merged commit 3b17ad8 into master Aug 5, 2020
@cschwinderg cschwinderg deleted the bugfix/safari-9-issues branch April 5, 2021 12:24
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