pkdevbox / iui

Automatically exported from code.google.com/p/iui
MIT License
0 stars 0 forks source link

Unexpected page rendering issue... #257

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to http://seanolsondesign.com/mobile/
2. Go to gallery>portraits>rapture
3. Use the back buttons at the top to go all the way back to the home page.

What is the expected output? What do you see instead?
It does indeed return the correct page when traversing back to the home page, 
however it creates an odd horizontal scrolling effect, that loads the last 
previously-viewed last-level page to the right side of the home page. If you 
follow the steps provided above, you'll see what I mean.

I'm still fairly new to a lot of this code structure, but if I understand it 
correctly, it needs to dump the "current" when navigating either forward or 
backward. It appears to be doing it on the forward, but not the other way.

The whole concept is to keep the entire "site" contents in a self-contained 
"app", which completely eliminates Safari controls for iPhone/iPod Touch, thus 
making it look and feel like an entirely native app, even though it's not. If 
this one bug can be fixed, I'll have a working model that can then be shared 
with anyone else here that's interested.

Thanks in advance!

What version of the product are you using? On what operating system?
iUi version 0.31, issue has been replicated on both iPhone/iPod 3.1.3 and 
Android 2.1.

Please provide any additional information below.

Original issue reported on code.google.com by HintOfSilence@gmail.com on 13 Jun 2010 at 8:25

GoogleCodeExporter commented 8 years ago
I don't see the problem you describe.  Although I did see a problem where 
rather than Ajaxing in gallery.php a new page was loaded (without header or 
style sheets)

Have you modified iui.js or iui.css?  Does the problem reproduce (for you) in 
Mac OS X/Windows Safari?

At this point I'm not sure whether this is a bug/issue or user error.  I'd 
recommend posting your questions on the iPhoneWebDev Google Group, you'll 
likely get more/better help there.  If it is, in face, a bug/issue come back 
here and update this issue.  If it isn't please update the issue in that case 
too and I'll close it out.

BTW, I like the styling you've done on your site - nice work!

Original comment by msgilli...@gmail.com on 16 Jun 2010 at 6:22

GoogleCodeExporter commented 8 years ago
"Although I did see a problem where rather than Ajaxing in gallery.php a new 
page was loaded (without header or style sheets)"  -- and embarrassingly enough 
this problem was caused by the fact that I had inadvertantly turned  off 
JavaScript in Safari Settings.  Never mind...

Original comment by msgilli...@gmail.com on 16 Jun 2010 at 9:23

GoogleCodeExporter commented 8 years ago
Sean,

Thank you for your response. I had made a few modifications to the JS and CSS 
both, but to my knowledge, not anything that would have caused the issue. I'm 
attaching a screenshot so you can get an idea of what it's doing. I am not able 
to replicate the issue in a desktop browser (Safari for Mac/Windows or 
Chrome)-- it only seems to happen in the actual mobile browser.

I'm very curious to know what broke it, mainly so I can avoid repeating the 
mistake in the future, but it's looking like it won't be stopping me from 
getting it done. While I was awaiting a response, I took the whole thing back 
to square one and started fresh, which was probably for the best since I was 
planning to make graphical changes to thematically tie in to the redesign I'm 
doing for the main site as well.

So far, that's working beautifully and looks better by several orders of 
magnitude. You can view the now-functional version at 
http://seanolsondesign.com/webapp

Lastly, I wanted to thank you for the compliment, and also offer my services in 
graphic design. I've been working with Photoshop and Illustrator for seventeen 
years, and CSS for almost nine. You have a fantastic product here, and I'd love 
to explore new possibilities with this fantastic group of developers. I spent a 
lot of time researching and testing different options for building a web app, 
and this one is leaps and bounds ahead of anything else I've seen or used.

Anyway, if you'd be interested in helping pinpoint the original issue, that 
would be awesome, and like I said-- mainly just to avoid making a similar 
mistake going forward. If not, I certainly won't cry or lose any sleep over it, 
being that I have a better and more functional version under way. Otherwise, 
please let me know how I might be able to contribute to this wonderful product 
and bring the amazing (and constantly growing) power of the web app.

Rock on, Sean. You have my respect and gratitude.

Original comment by HintOfSilence@gmail.com on 16 Jun 2010 at 4:25

Attachments:

GoogleCodeExporter commented 8 years ago
I'm going to ignore the problem since you modified both iui.css and iui.js and 
it has gone away in your latest code.

Here are some tips that might be worth checking to help with these sorts of 
issues:
http://code.google.com/p/iui/wiki/SlideCSSTransitionsNotes

The "Contributing" page talks about creating reductions (which admittedly 
require some effort) but this is a great way to track down and fix issues:
http://code.google.com/p/iui/wiki/Contributing

The wiki page links to the Webkit page on reductions which goes into more 
detail.

p.s. We'd love to have your help on the project.  Please introduce yourself on 
the iui-developers Google Group.   If you'd like to develop and contribute a 
theme for the project that would be great.  I'd actually like to see a default 
theme that is not an iPhone look-alike...

Original comment by msgilli...@gmail.com on 17 Jun 2010 at 12:21

GoogleCodeExporter commented 8 years ago
I'm closing this because it has not been reproduced/demonstrated in an 
unmodified release of iUI.

Original comment by msgilli...@gmail.com on 22 Mar 2012 at 4:42