sanjeevyadavIT / magento_react_native

🛒 MageCart: E-commerce app for Magento 2.x written in React Native
GNU General Public License v3.0
282 stars 124 forks source link

[iOS] Category List Item not rendering properly #68

Closed MehmoodArib closed 5 years ago

MehmoodArib commented 5 years ago

Describe the bug In CategoryListScreen, the items in the list should appear in 2 column layout, filling the entire width, but two columns are having fixed size.

Expected behavior CatalogGridItem should appear in 2 -column layout when used in CategoryListScreen, and should have fixed width when used in HomeScreen Horizontal list

Current Behavior CatalogGridItem is not talking 50% of the screen width in CategoryListScreen

Steps to Reproduce Please provide detailed steps for reproducing the issue.

  1. Open the app
  2. open the drawer
  3. Select any category(like gear)
  4. See problem

Screenshots category_problem

Smartphone (please complete the following information):

Additional context CatalogGridItem used in CategoryListScreen two places, when CategoryListScreen where it is shown in vertical list, and in HomeScreen where it is render as a horizontal list