BeefreeSDK / beefree-sdk-npm-official

Official NPM package of Beefree SDK
https://developers.beefree.io
Apache License 2.0
19 stars 7 forks source link

Mobile padding settings set in row are reset on JSON load #95

Closed ninpeng closed 1 year ago

ninpeng commented 1 year ago

Describe the bug After setting the padding value in the mobile style for the row, saving it and then loading it again, the value disappears.

To Reproduce Steps to reproduce the behavior:

  1. use free version bee plugin
  2. create any rows
  3. PC mode set padding 20 all sides at row
  4. Mobile mode set padding 5 all sides at row
  5. save a json template
  6. load saved json template
  7. mobile mode padding setting disappeared

Expected behavior The mobile padding setting value must remain.

Screenshots

image image **Desktop (please complete the following information):** - OS: Windows 10 - Browser: chrome - Version 111
davidesamp commented 1 year ago

Hi @ninpeng, We have tested your case and it works on our side, are you sure you are uploading the updated JSON ? you can also check into the JSON and see if there is the correct value you expect. You can see it under the "mobileStyle" section belonging to the row, the column or the module in question.

Just to exclude that the problem is not during the save as template phase.

ninpeng commented 1 year ago

Thanks for checking @davidesamp

email-form padding test.zip I tested it with this JSON file and it is a free version of the plugin.

image

The service settings are as above.

davidesamp commented 1 year ago

Hi @ninpeng,

After further investigation we realized you may have run into a bug that has been fixed a few days ago, can you try again and check if it works for you too?

ninpeng commented 1 year ago

Thank you for your help @davidesamp,

I just checked and it works fine. I will close this issue.