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

Initial sample fails to appear #68

Open
rossjrw opened this issue Feb 5, 2021 · 0 comments
Open

Initial sample fails to appear #68

rossjrw opened this issue Feb 5, 2021 · 0 comments
Labels
bug Correct a problem in an existing feature

Comments

@rossjrw
Copy link
Owner

rossjrw commented Feb 5, 2021

Sometimes when loading the page, the initial image does not render. A retransliteration must be prompted (e.g. by changing the input text) for the image to appear.

I can only reproduce this using the dev server (#66) - in production, or using the production build on local, it doesn't seem to happen - although a small version of the initial image is visible for a frame in the top left of the image, presumably before the second transliteration in the mounted hook:

gallifreyo/src/index.ts

Lines 17 to 21 in 6c44763

mounted () {
this.store.modifyInput("Gallifreyo Test")
// Needs an extra transliteration to fix the initial bounding box
this.store.transliterate()
},

The latter can be 'fixed' by adding a CSS animation or similar to the image that fades it in on page load.

I don't know what to do about the former, or if it's even worth fixing.

@rossjrw rossjrw added the bug Correct a problem in an existing feature label Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Correct a problem in an existing feature
Projects
None yet
Development

No branches or pull requests

1 participant