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

layout gallery WhatsApp.Vue #6417

Open
diadal opened this issue Feb 18, 2020 · 8 comments
Open

layout gallery WhatsApp.Vue #6417

diadal opened this issue Feb 18, 2020 · 8 comments

Comments

@diadal
Copy link
Contributor

diadal commented Feb 18, 2020

1: Status bar override
2: message box covered with the grey color
3: Drawer covered with grey color

Screenshot 2020-02-18 at 22 11 28

Screenshot 2020-02-18 at 22 10 40

OS: MacOs
Node:
NPM:
Yarn:
Browsers:
iOS: iPhone 11 Pro Max
Android:
Electron:

Additional context
Add any other context about the problem here.

@pdanpdan
Copy link
Collaborator

Are you using cordova or capacitor, are you on real device or on emulator.
Also the code to reproduce would help - I'm pretty sure that the sample layout in docs is only as an example and should be checked and adjusted if you want to use it, so please provide the code you are using.

Thank you

@diadal
Copy link
Contributor Author

diadal commented Feb 19, 2020

@diadal
Copy link
Contributor Author

diadal commented Feb 19, 2020

the issue same on cordova

@diadal
Copy link
Contributor Author

diadal commented Feb 19, 2020

I got this from Xcode maybe it can help

<WhatsappLayout> at src/pages/Chat.vue
       <App> at src/App.vue
         <Root>
2020-02-19 12:25:51.124293+0100 App[28208:1663217] API error: <_UIKBCompatInputView: 0x7fd294f239c0; frame = (0 0; 0 0); layer = <CALayer: 0x600000160b80>> returned 0 width, assuming UIViewNoIntrinsicMetric
2020-02-19 12:25:51.124671+0100 App[28208:1663217] API error: <_UIKBCompatInputView: 0x7fd294f239c0; frame = (0 0; 0 0); layer = <CALayer: 0x600000160b80>> returned 0 width, assuming UIViewNoIntrinsicMetric
2020-02-19 12:25:51.177005+0100 App[28208:1663217] [Snapshotting] Snapshotting a view (0x7fd294e12e20, _UIReplicantView) that has not been rendered at least once requires afterScreenUpdates:YES.

@diadal
Copy link
Contributor Author

diadal commented Feb 20, 2020

Please any update on this

@diadal
Copy link
Contributor Author

diadal commented Feb 20, 2020

so far am able to do something but not sure if is the best
1 <div :class="'WAL position-relative bg-grey-4 '+ $q.platform.is.ios ? ' ios-class' : ''" :style="style">

<style lang="sass">
.ios-class
  padding-top: 40px !important
  padding-bottom: 35px !important

.....

2 creating child route

{
    path: '/chat',
    component: () => import('pages/Chat.vue'),
    children: [
      { name: 'chat-room', path: '', component: () => import('pages/m/ChatMessage.vue') }
    ]
  },

than I got this

Screenshot 2020-02-20 at 08 07 33

Screenshot 2020-02-20 at 08 07 54

but after rotating simulator left and right this issue come back

Screenshot 2020-02-20 at 08 08 23

but when I change page then come back it look good once again

@vycoder
Copy link

vycoder commented Mar 3, 2020

Have you tried setting iosStatusBarPadding to true under capacitor.config.json?

@diadal
Copy link
Contributor Author

diadal commented Mar 3, 2020

no never try that but have create new one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants