Camera

Hi,

In iOS, after I take a picture in landscape, the app doesn’t seem to interact (i.e. click or scroll) on the bottom half of the app in portrait (in landscape the app seems to behave as expected).

Version: 1.8.1

OS: MacOS

Build: Preview

Code:

<App>
	<JavaScript>
		var camera = require('FuseJS/Camera');

		function click() {
			camera
				.takePicture()
				.then(function(img) {
					console.dir(img)
				})
				.catch(function() {

				});
		}

		module.exports = {
			click: click
		}		
	</JavaScript>
	
	<ClientPanel>
		<ScrollView>
			<StackPanel>
				<Button Text="Camera" Padding="20" Clicked="{click}" />

				<Each Count="100">
					<Rectangle Color="#18f" Height="20" Margin="10" />
				</Each>
			</StackPanel>
		</ScrollView>
	</ClientPanel>
</App>

Steps:

  1. Open camera
  2. Switch landscape
  3. Take picture
  4. Accept picture confirmation
  5. Once the app has closed camera, switch back to portrait.
  6. The app shouldn’t be able to scroll or interact on the bottom half of screen in portrait, but works fine in landscape

Hey.

I have created the issue ticket.

+1 :+1:

Hey @Uldis , any idea when we can expect this one to be resolved? :slight_smile:

No, we don’t have any ETA on a solution.

Ok, thanks for the update.