WebMobile Builds Problem: Camera Render Out of bounds content

When i run the game on Cocos preview all the content is inside of camera view

but when i build WebMobile The content ignore camera bounds

How can i fix this?
I have my canvas with fix height only.
When i choose Fix width the same happens

1 Like

the cocos creator version that you used?

cocos creator 2.1


image
I can’t reproduce your problem,did you do some special things with the browser or build?

sorry i edited

what could cause this?

I created a new project
this is my initial setup . i left both sprites outside of canvas
640x960 fit height


build web mobile portrait
result:

now i moved both sprites inside canvas

build web mobile portrait
result:

so i don’t know what else to do :confused:

Additionally i downloaded the example project from here
http://docs.cocos2d-x.org/creator/manual/en/getting-started/quick-start.html
build for web mobile
resuts: