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

When we click on the image to see it, the table of contents/sidebar affixed disappears #114

Open
varshilmehta opened this issue Aug 30, 2019 · 7 comments

Comments

@varshilmehta
Copy link

When we click on the image to see it, the table of contents/sidebar affixed on the right side disappears

@Vitaliy-1
Copy link
Owner

Hmm, I can't reproduce it on the demo instance. Are there any errors in the browser console?

@varshilmehta
Copy link
Author

varshilmehta commented Aug 30, 2019

Hmm, I can't reproduce it on the demo instance. Are there any errors in the browser console?

Here are the errors:

```

css:1 Failed to load resource: the server responded with a status of 500 ()
default:240 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
rss.png:1 Failed to load resource: the server responded with a status of 404 ()
rg.png:1 Failed to load resource: the server responded with a status of 404 ()
/files/orcid.png:1 Failed to load resource: the server responded with a status of 404 ()
/files/oa.png:1 Failed to load resource: the server responded with a status of 404 ()
loader.js:286 Google Charts loader.js should only be loaded once.
8
e000086:1412 Uncaught TypeError: Cannot read property 'style' of null
at scrollFunction (e000086:1412)
at window.onscroll (e000086:1409)
core.ac.uk/recommender/recommend:1 Failed to load resource: the server responded with a status of 400 (Bad Request)
42
e000086:1412 Uncaught TypeError: Cannot read property 'style' of null
at scrollFunction (e000086:1412)
at window.onscroll (e000086:1409)
css:1 Failed to load resource: the server responded with a status of 500 ()

@varshilmehta
Copy link
Author

varshilmehta commented Aug 30, 2019

@varshilmehta
Copy link
Author

I did the fresh install (OJS 3.1.2.1), but the same problem persist.

@Vitaliy-1
Copy link
Owner

Looks like a conflict between JS libraries but I'm not sure what it is. Maybe Bootstrap or JQuery interacts with something that the page is using alongside with them.

@varshilmehta
Copy link
Author

Hmm, so any solution for that? Could you try on OJS 3.1.2.1 yourself and see?

@Vitaliy-1
Copy link
Owner

It may be a problem with a new Bootstrap and I don't see any relevant errors in the console. Somehow affix fails when modal is activated. I'll take a look. This issue comes from JATS Parser, as it renders that part of the code.

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

No branches or pull requests

2 participants