Replace your loading spinner with an animated image!

Your code didn’t work with me but it disabled the loading spinner so it’s a win-win. I also realised a very easy way to do things once you disable the loading spinner.

 def text_area_1_change(self, **event_args):
    self.button_5.text='Saving...'
    self.button_5.background='grey'
    self.button_5.enabled=False
    t=app_tables.stories.get(Title=Module1.work,Author=anvil.users.get_user()['username'])
    if t['Drafts']!=None:
      t['Drafts'][self.text_box_1.text]=self.text_area_1.text
      self.button_5
      self.button_5.text='Save & Exit'
      self.button_5.background='#006eff'