The iframe is the same frame for 1 datapage, the details section of this datapage is what doesn't load to the top, it loads in the middle if the section before it is scrolled far down when the link is clicked.
I've hired a javascript/iframes "expert" from guru.com to look at the issue, so far they haven't come up with something.
For reasons beyond understanding this app builder tool [lumavate.com] I'm using to insert caspio into won't let the normal javascript embed syntax work correctly
so if iframes are a mess I'm trying to come up with a work around, I've coded this and the page pulls up but its not dynamic, its static and none of the links work that are in the caspio datapage
e.
I'm going to have my javascript developer look and see if they can figure this out and if they can then I don't have to worry about my iframes problem.
iframe content doesn't scroll properly when touch is initiated, eg, in the center of the content. It will scroll if touch is initiated on the left or right edge of the content. Not sure if this is related to closed issue `iframes block scrolling
306 `.
I'm using Ionic v1.0.1-beta, Cordova v3.4.1-0.1.0, iOS 7.1 .
eg, I replaced the tab-dash.html
content, generated via ionic start myApp tabs
, with:
Dashboard0
I'm actually trying to scroll the child page [my iframe]. For some reason window.scrollTo[0,0] doesn't work when I call it with in my page inside JIRA but it does work when I call it as standalone page [no iframe]
Have anybody had the same problem?
Cheers
Fernando
Dave Haden
unread,
Nov 11, 2015, 2:59:16 PM11/11/15
to Atlassian Connect Dev
Hey Fernando,
I just tried this with a "atlas-connect new -t jira project" by:
- limited the general page to 50px, - manually scrolling to the bottom of the scrollable iframe, and
- using the console to call "window.scrollTo[0, 0]" inside the context of the iframe and it worked :[
Where is the iframe that you are trying to manipulate? What is triggering the call? Is there anything else that could be related?
Thanks,
Dave
Fernando Boucquez
unread,
Nov 11, 2015, 11:43:33 PM11/11/15
to atlassian-...@googlegroups.com
Hi Dave, thank you for showing me atlas-connect. Great improvement since I started AC over 2 years ago.
I'm extending your example:
- atlas-connect new hello-world [jira template doesn't exist with the default installation]
- npm install
- I've removed addon.authenticate[] from index.js in order to open the page standalone bypassing security
- Changed hello-world.hbs adding a min-height: 1000px to the p element and a title="window.scrollTo[0,0]" link at the bottom of the page. New template attached
- Install the plugin
If you go the hello world link inside JIRA, scroll down and click Scroll Up, button does not work [window.scrollTo[0,0] from dev tools does work]
If you go to the page as standalone [localhost:3000/hello-world] scroll down and click Scroll Up, button does work going to the top of the page.
This is probably a general iframe/parent problem but I couldn't find a solution.
Dave Haden
unread,
Nov 13, 2015, 5:03:47 PM11/13/15
to Atlassian Connect Dev
Hey Fernando,
I was previously testing a scrollable section in the iframe where as the code that has been supplied doesnt have a scrolllable window in the iframe. This means the only scrolling that can be done is within the top window. Currently there are no open tickets to request so I have made ACJS-76 to hopefully cover what you are wanting to do :]
We can also continue the conversation there if you have anymore querries
Thanks Dave
--You received this message because you are subscribed to the Google Groups "Atlassian Connect Dev" group.
Fernando Boucquez
unread,
Nov 14, 2015, 2:17:15 AM11/14/15
to atlassian-...@googlegroups.com
Thank Dave, we can carry on in the issue.
I'm wondering why an Iframe cannot scroll itself?
Michael Regalado
unread,
Nov 18, 2015, 5:13:31 PM11/18/15
to Atlassian Connect Dev
There is this "sizeToParent:true" attribute you can set when adding AC's js resource: